fix_groups_missing_from_prepajury.xlsx

This commit is contained in:
Jean-Marie Place 2021-11-12 09:25:47 +01:00
parent 090391300a
commit c23a5abb6c

View File

@ -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) { etudid : { partition_id : group_name }} (attr=group_name or group_id)
""" """
infos = ndb.SimpleDictFetch( 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 gd.group_name, gd.id AS group_id
FROM notes_formsemestre_inscription i, partition p, FROM notes_formsemestre_inscription i, partition p,
group_descr gd, group_membership gm group_descr gd, group_membership gm