From b2a643705f68680687839b099a5b100d28129a67 Mon Sep 17 00:00:00 2001 From: viennet Date: Sat, 3 Oct 2020 22:18:35 +0200 Subject: [PATCH] Fix: recapcomplet tri sur colonne classement --- sco_recapcomplet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sco_recapcomplet.py b/sco_recapcomplet.py index d18d6e18e..9c59a0cc5 100644 --- a/sco_recapcomplet.py +++ b/sco_recapcomplet.py @@ -261,7 +261,7 @@ def make_formsemestre_recapcomplet( else: rank_partition = sco_groups.get_default_partition(context, formsemestre_id) rank_label = "Rg" - # pdb.set_trace() + T = nt.get_table_moyennes_triees() if not T: return "", "", format @@ -556,7 +556,7 @@ def make_formsemestre_recapcomplet( cls = "recap_tit_ue" else: cls = "recap_tit" - if i == 0: # Rang: force tri numerique pour sortable + if i == 0 or F[0][i] == "classement": # Rang: force tri numerique pour sortable cls = cls + " sortnumeric" if cod2mod.has_key(F[0][i]): # lien vers etat module mod = cod2mod[F[0][i]]