forked from ScoDoc/DocScoDoc
Fix: nom champ cursus (code_cursus) dans resultats API (test ok)
This commit is contained in:
parent
1e3dbe26c5
commit
b089773766
@ -212,7 +212,7 @@ class TableRecap(tb.Table):
|
||||
row_ects.add_cell(col_id, None, ue.ects)
|
||||
|
||||
# la colonne où placer les valeurs agrégats
|
||||
col_id = "moy_gen" if "moy_gen" in self.column_ids else "cursus"
|
||||
col_id = "moy_gen" if "moy_gen" in self.column_ids else "code_cursus"
|
||||
col_group = "col_moy_gen" if "moy_gen" in self.column_ids else "cursus"
|
||||
row_ects.add_cell(
|
||||
col_id,
|
||||
@ -488,8 +488,8 @@ class TableRecap(tb.Table):
|
||||
|
||||
def add_cursus(self):
|
||||
"""Ajoute colonne avec code cursus, eg 'S1 S2 S1'
|
||||
pour tous les étduiants de la table"""
|
||||
cid = "cursus"
|
||||
pour tous les étudiants de la table"""
|
||||
cid = "code_cursus"
|
||||
formation_code = self.res.formsemestre.formation.formation_code
|
||||
for row in self.rows:
|
||||
row.add_cell(
|
||||
@ -502,7 +502,7 @@ class TableRecap(tb.Table):
|
||||
if ins.formsemestre.formation.formation_code == formation_code
|
||||
]
|
||||
),
|
||||
"cursus",
|
||||
group="cursus",
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user