From dfbfd41b9faa93dfd82e6c24b8e99cfc63ee21cc Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 22 Sep 2023 21:33:58 +0200 Subject: [PATCH] =?UTF-8?q?ajoute=20cr=C3=A9ation=20automatique=20du=20gro?= =?UTF-8?q?upe=20par=20d=C3=A9faut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_groups_view.py | 4 +++- sco_version.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/scodoc/sco_groups_view.py b/app/scodoc/sco_groups_view.py index 835207735..179160baa 100644 --- a/app/scodoc/sco_groups_view.py +++ b/app/scodoc/sco_groups_view.py @@ -324,7 +324,9 @@ class DisplayedGroupsInfos: if not formsemestre_id: raise Exception("missing parameter formsemestre_id or group_ids") if select_all_when_unspecified: - group_ids = [sco_groups.get_default_group(formsemestre_id)] + group_ids = [ + sco_groups.get_default_group(formsemestre_id, fix_if_missing=True) + ] else: # selectionne le premier groupe trouvé, s'il y en a un partition = sco_groups.get_partitions_list( diff --git a/sco_version.py b/sco_version.py index 49d42d09a..48b3bc566 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.6.33" +SCOVERSION = "9.6.34" SCONAME = "ScoDoc"