col etudid in formsemestre_poursuite_report. Fix #849

This commit is contained in:
Emmanuel Viennet 2024-01-29 22:33:06 +01:00
parent c270c24c5b
commit 04d1fbe272

View File

@ -197,13 +197,15 @@ def formsemestre_poursuite_report(formsemestre_id, fmt="html"):
info = etud_get_poursuite_info(sem, etud)
idd = _flatten_info(info)
# On recupere la totalite des UEs dans ids
for id in idd:
if id not in ids:
ids += [id]
for key in idd:
if key not in ids:
ids += [key]
info["etudid"] = etud["etudid"]
infos.append(info)
#
column_ids = (
("civilite_str", "nom", "prenom", "annee", "date_naissance")
(("etudid",) if fmt.startswith("xls") else ())
+ ("civilite_str", "nom", "prenom", "annee", "date_naissance")
+ tuple(ids)
+ ("debouche",)
)