From 1c30d4d9265ed2018e684654fc0f815fd26640ec Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 26 Sep 2022 17:05:49 +0200 Subject: [PATCH] Fix: ordre affichage partitions --- app/scodoc/sco_groups.py | 3 ++- sco_version.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/scodoc/sco_groups.py b/app/scodoc/sco_groups.py index b21431096..eec920abe 100644 --- a/app/scodoc/sco_groups.py +++ b/app/scodoc/sco_groups.py @@ -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 [ 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 WHERE gm.etudid=%(etudid)s and gm.group_id = g.id diff --git a/sco_version.py b/sco_version.py index 1fb8086b5..b2c48b2ad 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.3.42" +SCOVERSION = "9.3.43" SCONAME = "ScoDoc"