SubEvent search: Fix inconsistent ordering

This commit is contained in:
Raphael Michel
2021-03-05 11:57:24 +01:00
parent 8e00970f04
commit a51c2a36a6

View File

@@ -255,7 +255,7 @@ def subevent_select2(request, **kwargs):
qs = request.event.subevents.filter(
qf
).order_by('-date_from')
).order_by('-date_from', 'name', 'pk')
total = qs.count()
pagesize = 20