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:
|
else:
|
||||||
modimpls.sort(
|
modimpls.sort(
|
||||||
key=lambda m: (
|
key=lambda m: (
|
||||||
m.module.ue.numero,
|
m.module.ue.numero or 0,
|
||||||
m.module.matiere.numero,
|
m.module.matiere.numero or 0,
|
||||||
m.module.numero,
|
m.module.numero or 0,
|
||||||
m.module.code,
|
m.module.code or "",
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
return modimpls
|
return modimpls
|
||||||
|
Loading…
Reference in New Issue
Block a user