forked from ScoDoc/ScoDoc
Fix: tri groupes sans numeros
This commit is contained in:
parent
f3b1b8a3cb
commit
16f953caf6
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user