1
0
forked from ScoDoc/ScoDoc

Fix: recapcomplet tri sur colonne classement

This commit is contained in:
viennet 2020-10-03 22:18:35 +02:00
parent 7cd0d13e68
commit b2a643705f

View File

@ -261,7 +261,7 @@ def make_formsemestre_recapcomplet(
else: else:
rank_partition = sco_groups.get_default_partition(context, formsemestre_id) rank_partition = sco_groups.get_default_partition(context, formsemestre_id)
rank_label = "Rg" rank_label = "Rg"
# pdb.set_trace()
T = nt.get_table_moyennes_triees() T = nt.get_table_moyennes_triees()
if not T: if not T:
return "", "", format return "", "", format
@ -556,7 +556,7 @@ def make_formsemestre_recapcomplet(
cls = "recap_tit_ue" cls = "recap_tit_ue"
else: else:
cls = "recap_tit" 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" cls = cls + " sortnumeric"
if cod2mod.has_key(F[0][i]): # lien vers etat module if cod2mod.has_key(F[0][i]): # lien vers etat module
mod = cod2mod[F[0][i]] mod = cod2mod[F[0][i]]