From 3e0a93ec7be97fba119b101867466a61a37d03cc Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 16 Dec 2022 23:23:52 -0300 Subject: [PATCH] Cosmetic: BUT SAE apres res. --- app/comp/moy_ue.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/comp/moy_ue.py b/app/comp/moy_ue.py index 523cab3f1..efca66621 100644 --- a/app/comp/moy_ue.py +++ b/app/comp/moy_ue.py @@ -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)