get_renewees: Order by lastname instead of last renewal date
This commit is contained in:
parent
0f2851ef9f
commit
2e9d68fdf8
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ def get_members_which_need_renewal(mode):
|
|||
%(mysql_to_date)s ,
|
||||
INTERVAL 2 YEAR
|
||||
)
|
||||
ORDER BY last_renewed_on;
|
||||
ORDER BY lastname;
|
||||
'''.strip()
|
||||
QUERY %= {'mysql_from_date': mysql_from_date,
|
||||
'mysql_to_date': mysql_to_date}
|
||||
|
|
Loading…
Reference in a new issue