From c23a5abb6c151524ac96cedf19913349cdc3fc8c Mon Sep 17 00:00:00 2001 From: Place Jean-Marie Date: Fri, 12 Nov 2021 09:25:47 +0100 Subject: [PATCH] fix_groups_missing_from_prepajury.xlsx --- app/scodoc/sco_groups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scodoc/sco_groups.py b/app/scodoc/sco_groups.py index 14410977..13652986 100644 --- a/app/scodoc/sco_groups.py +++ b/app/scodoc/sco_groups.py @@ -377,7 +377,7 @@ def formsemestre_get_etud_groupnames(formsemestre_id, attr="group_name"): { etudid : { partition_id : group_name }} (attr=group_name or group_id) """ infos = ndb.SimpleDictFetch( - """SELECT i.id AS etudid, p.id AS partition_id, + """SELECT i.etudid AS etudid, p.id AS partition_id, gd.group_name, gd.id AS group_id FROM notes_formsemestre_inscription i, partition p, group_descr gd, group_membership gm