PN: ordre autres modules

This commit is contained in:
Emmanuel Viennet 2021-12-09 11:56:10 +01:00
parent 478688fe49
commit 23d908b932

View File

@ -61,7 +61,9 @@ def html_edit_formation_apc(
semestre_ids = [semestre_idx] semestre_ids = [semestre_idx]
other_modules = formation.modules.filter( other_modules = formation.modules.filter(
Module.module_type != ModuleType.SAE, Module.module_type != ModuleType.RESSOURCE Module.module_type != ModuleType.SAE, Module.module_type != ModuleType.RESSOURCE
).order_by(Module.semestre_id, Module.module_type, Module.numero, Module.code) ).order_by(
Module.semestre_id, Module.module_type.desc(), Module.numero, Module.code
)
arrow_up, arrow_down, arrow_none = sco_groups.get_arrow_icons_tags() arrow_up, arrow_down, arrow_none = sco_groups.get_arrow_icons_tags()
icons = { icons = {