From f246d9e82c28f1534773926a03ad4d007bb2ff6c Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sat, 3 Dec 2022 17:31:58 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20API=20bulletins=20JSON=20classic=20sans?= =?UTF-8?q?=20mati=C3=A8res?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_bulletins_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scodoc/sco_bulletins_json.py b/app/scodoc/sco_bulletins_json.py index 2a0d24d6..35334c6c 100644 --- a/app/scodoc/sco_bulletins_json.py +++ b/app/scodoc/sco_bulletins_json.py @@ -269,7 +269,7 @@ def formsemestre_bulletinetud_published_dict( u["module"] = _list_modimpls( nt, etudid, - [mod for mod in modimpls if mod["module"]["ue_id"] == ue.id], + [mod for mod in modimpls if mod["module"]["ue_id"] == ue_st["ue_id"]], prefs, version, )