Cosmetic: BUT SAE apres res.

This commit is contained in:
Emmanuel Viennet 2022-12-16 23:23:52 -03:00 committed by iziram
parent cb8d313dc7
commit c6e35dd4cd

View File

@ -77,9 +77,7 @@ def df_load_module_coefs(formation_id: int, semestre_idx: int = None) -> pd.Data
& (UniteEns.type == sco_codes_parcours.UE_SPORT)
)
)
.order_by(
Module.semestre_id, Module.module_type.desc(), Module.numero, Module.code
)
.order_by(Module.semestre_id, Module.module_type, Module.numero, Module.code)
)
if semestre_idx is not None:
ues = ues.filter_by(semestre_idx=semestre_idx)