Ordering likely screwed up when I muck with query.
Force order_by at the end of my mucking.
This commit is contained in:
parent
5688ffcd48
commit
dbeada5b0b
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ def view(request):
|
|||
supporters = Supporter.objects.all().filter(display_until_date__gte=datetime.now())
|
||||
supporters_count = len(supporters)
|
||||
anonymous_count = len(supporters.filter(display_name = 'Anonymous'))
|
||||
supporters = supporters.exclude(display_name = 'Anonymous')
|
||||
supporters = supporters.exclude(display_name = 'Anonymous').order_by('ledger_entity_id')
|
||||
|
||||
c = {
|
||||
'supporters' : supporters,
|
||||
|
|
Loading…
Reference in a new issue