Skip to content
Snippets Groups Projects
Commit 33a7abe0 authored by Emmanuel Viennet's avatar Emmanuel Viennet
Browse files

Fix: tri groupes sans numeros

parent 3fdb2597
No related branches found
No related tags found
No related merge requests found
......@@ -364,11 +364,11 @@ class DisplayedGroupsInfos(object):
self.formsemestre = sem
self.members.extend(group_members)
groups_titles.append(group_tit)
if group["partition_name"] == None:
if group["partition_name"] is None:
self.tous_les_etuds_du_sem = True
else:
# liste les partitions explicitement sélectionnés (= des groupes de group_ids)
selected_partitions.add((group["numero"], group["partition_id"]))
selected_partitions.add((group["numero"] or 0, group["partition_id"]))
self.selected_partitions = [
x[1] for x in sorted(list(selected_partitions))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment