From 7b3072ed090de675e952e7c8a894265212d2e428 Mon Sep 17 00:00:00 2001 From: Tom Chapman Date: Sat, 28 Sep 2024 12:07:32 -0700 Subject: [PATCH] fix setting event actual when previous event deleted --- epictrack-api/src/api/services/event.py | 1 + 1 file changed, 1 insertion(+) diff --git a/epictrack-api/src/api/services/event.py b/epictrack-api/src/api/services/event.py index 47aca0e4d..67a431a1f 100644 --- a/epictrack-api/src/api/services/event.py +++ b/epictrack-api/src/api/services/event.py @@ -1014,6 +1014,7 @@ def find_events( ) .filter( Event.is_active.is_(True), + Event.is_deleted.is_(False), Event.work_id == work_id, EventConfiguration.is_active.is_(True), )