From 242771c6192a729083efae443e95aa4b14bbd176 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 23 Jan 2024 21:42:11 +0100 Subject: [PATCH] Fix: view_apo_csv --- app/scodoc/sco_etape_apogee_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scodoc/sco_etape_apogee_view.py b/app/scodoc/sco_etape_apogee_view.py index da833d5c..f680775c 100644 --- a/app/scodoc/sco_etape_apogee_view.py +++ b/app/scodoc/sco_etape_apogee_view.py @@ -771,10 +771,10 @@ def view_apo_csv(etape_apo="", semset_id="", fmt="html"): e["in_scodoc"] = e["nip"] not in nips_no_sco e["in_scodoc_str"] = {True: "oui", False: "non"}[e["in_scodoc"]] if e["in_scodoc"]: + e.update(sco_etud.get_etud_info(code_nip=e["nip"], filled=True)[0]) e["_in_scodoc_str_target"] = url_for( "scolar.fiche_etud", scodoc_dept=g.scodoc_dept, etudid=e["etudid"] ) - e.update(sco_etud.get_etud_info(code_nip=e["nip"], filled=True)[0]) e["_nom_td_attrs"] = 'id="%s" class="etudinfo"' % (e["etudid"],) e["_prenom_td_attrs"] = 'id="pre-%s" class="etudinfo"' % (e["etudid"],) else: