forked from ScoDoc/DocScoDoc
Fix: tri modimpls sans numeros
This commit is contained in:
parent
e3c9f187dd
commit
2764ff1074
@ -170,10 +170,10 @@ class FormSemestre(db.Model):
|
||||
else:
|
||||
modimpls.sort(
|
||||
key=lambda m: (
|
||||
m.module.ue.numero,
|
||||
m.module.matiere.numero,
|
||||
m.module.numero,
|
||||
m.module.code,
|
||||
m.module.ue.numero or 0,
|
||||
m.module.matiere.numero or 0,
|
||||
m.module.numero or 0,
|
||||
m.module.code or "",
|
||||
)
|
||||
)
|
||||
return modimpls
|
||||
|
Loading…
Reference in New Issue
Block a user