From a05044b746813520ec798f662ba5a622ad16273f Mon Sep 17 00:00:00 2001 From: Kraiem Taha Yassine Date: Fri, 27 Oct 2023 21:36:39 +0200 Subject: [PATCH] Api v1.15.0 (#1594) * fix(chalice): fixed path analysis operator --- api/chalicelib/core/product_analytics.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/chalicelib/core/product_analytics.py b/api/chalicelib/core/product_analytics.py index c6b7e0bc9..ec96dcc1d 100644 --- a/api/chalicelib/core/product_analytics.py +++ b/api/chalicelib/core/product_analytics.py @@ -94,6 +94,7 @@ def path_analysis(project_id: int, data: schemas.CardPathAnalysis): for i, sf in enumerate(data.start_point): f_k = f"start_point_{i}" op = sh.get_sql_operator(sf.operator) + sf.value = helper.values_for_operator(value=sf.value, op=sf.operator) is_not = sh.is_negation_operator(sf.operator) extra_values = {**extra_values, **sh.multi_values(sf.value, value_key=f_k)} start_points_conditions.append(f"(event_type='{sf.type}' AND " +