diff --git a/app/models/formsemestre.py b/app/models/formsemestre.py index 35385729d..3f8f61f13 100644 --- a/app/models/formsemestre.py +++ b/app/models/formsemestre.py @@ -777,7 +777,7 @@ class FormSemestre(db.Model): """ partitions = [p for p in self.partitions if p.partition_name is not None] if with_default: - partitions += [p for p in partitions if p.partition_name is None] + partitions += [p for p in self.partitions if p.partition_name is None] return partitions @cached_property diff --git a/app/scodoc/sco_groups_view.py b/app/scodoc/sco_groups_view.py index 0eefe0580..794c4ba3d 100644 --- a/app/scodoc/sco_groups_view.py +++ b/app/scodoc/sco_groups_view.py @@ -825,7 +825,7 @@ def tab_absences_html(groups_infos, etat=None): H.extend( [ - "

Assiduités

", + "

Assiduité

", '", "

Feuilles

", '