forked from ScoDoc/ScoDoc
Fix: recapcomplet tri sur colonne classement
This commit is contained in:
parent
7cd0d13e68
commit
b2a643705f
@ -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]]
|
||||||
|
Loading…
Reference in New Issue
Block a user