[controle_tresorier.py] Tri par id numerique, pas alphabetique
Ignore-this: b9a5f93e65ee693f804a4b2b3fa05d0d darcs-hash:20111021153254-3651d-aab6539e1c48d2fe792dd36f255f541f6c70b1dd.gz
This commit is contained in:
parent
3cfdc4dd46
commit
a19775bc1e
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ def controle_interactif(quoi):
|
|||
todo_list['adherent'].sort(key = lambda x: (x.nom(), x.prenom()))
|
||||
|
||||
if trier_par == 'id':
|
||||
todo_list['adherent'].sort(key = lambda x: x.id())
|
||||
todo_list['adherent'].sort(key = lambda x: int(x.id()))
|
||||
elif trier_par == 'nom':
|
||||
pass
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue