From e96964657e26516f3cc076faf6c70c507d871e80 Mon Sep 17 00:00:00 2001 From: Petr Jasek Date: Tue, 16 Jul 2024 12:14:02 +0200 Subject: [PATCH] fix e2e --- server/planning/search/queries/events.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/planning/search/queries/events.py b/server/planning/search/queries/events.py index 1ed8785ef..6d89aca42 100644 --- a/server/planning/search/queries/events.py +++ b/server/planning/search/queries/events.py @@ -278,12 +278,12 @@ def search_date_range(params: Dict[str, Any], query: elastic.ElasticQuery): elastic.date_range( elastic.ElasticRangeParams( field="dates.start", - gte=end_date, + gte=start_date, time_zone=time_zone, ), ), elastic.date_range( - elastic.ElasticRangeParams(field="dates.end", lte=start_date, time_zone=time_zone) + elastic.ElasticRangeParams(field="dates.end", lte=end_date, time_zone=time_zone) ), ] )