Merge pull request 'fix_groups_missing_from_prepajury.xlsx' (#181) from jmplace/ScoDoc-Lille:fix_missing_groups_from_prepajury into master

Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/181
This commit is contained in:
Emmanuel Viennet 2021-11-12 11:00:07 +01:00
commit 12c0af8bb6

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