From 4782030a4bb4af73f100c76d06e86a1675f70aa9 Mon Sep 17 00:00:00 2001 From: alexobaseki Date: Tue, 25 Mar 2025 09:12:05 -0400 Subject: [PATCH] Add order by event ID to sure consistency --- api/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/events.py b/api/events.py index c2e2006..2bfef8f 100644 --- a/api/events.py +++ b/api/events.py @@ -74,7 +74,7 @@ async def event_list( .filter( jurisdiction_filter(jurisdiction, jid_field=models.Event.jurisdiction_id), ) - .order_by(models.Event.start_date) + .order_by(models.Event.start_date, models.Event.id) ).options( contains_eager( models.Event.jurisdiction,