From 4b8af90b1878938f11e95d4fc88059b779fbf47e Mon Sep 17 00:00:00 2001 From: Kraiem Taha Yassine Date: Tue, 13 Aug 2024 11:48:27 +0200 Subject: [PATCH] Dev (#2486) * fix(chalice): fixed Math-operators validation refactor(chalice): search for sessions that have events for heatmaps * refactor(chalice): search for sessions that have at least 1 location event for heatmaps * fix(chalice): fixed Math-operators validation refactor(chalice): search for sessions that have events for heatmaps * refactor(chalice): search for sessions that have at least 1 location event for heatmaps * feat(chalice): autocomplete return top 10 with stats * fix(chalice): fixed autocomplete top 10 meta-filters * fix(chalice): fixed schemas field validator --- api/schemas/schemas.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/schemas/schemas.py b/api/schemas/schemas.py index c2e7bbea0..69391596b 100644 --- a/api/schemas/schemas.py +++ b/api/schemas/schemas.py @@ -793,7 +793,8 @@ class SessionsSearchPayloadSchema(_TimedSchema, _PaginatedSchema): return values @field_validator("filters", mode="after") - def merge_identical_filters(self, values): + @classmethod + def merge_identical_filters(cls, values): # ignore 'issue' type as it could be used for step-filters and tab-filters at the same time i = 0 while i < len(values):