Fix: ordre affichage partitions

This commit is contained in:
Emmanuel Viennet 2022-09-26 17:05:49 +02:00
parent 2be7a385c5
commit 1c30d4d926
2 changed files with 3 additions and 2 deletions

View File

@ -360,7 +360,8 @@ def get_etud_groups(etudid: int, formsemestre_id: int, exclude_default=False):
"""Infos sur groupes de l'etudiant dans ce semestre """Infos sur groupes de l'etudiant dans ce semestre
[ group + partition_name ] [ group + partition_name ]
""" """
req = """SELECT p.id AS partition_id, p.*, g.id AS group_id, g.* req = """SELECT p.id AS partition_id, p.*,
g.id AS group_id, g.numero as group_numero, g.group_name
FROM group_descr g, partition p, group_membership gm FROM group_descr g, partition p, group_membership gm
WHERE gm.etudid=%(etudid)s WHERE gm.etudid=%(etudid)s
and gm.group_id = g.id and gm.group_id = g.id

View File

@ -1,7 +1,7 @@
# -*- mode: python -*- # -*- mode: python -*-
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
SCOVERSION = "9.3.42" SCOVERSION = "9.3.43"
SCONAME = "ScoDoc" SCONAME = "ScoDoc"