From b5e8e86f23f0d176c829d109fe571c5adae9af81 Mon Sep 17 00:00:00 2001 From: Kraiem Taha Yassine Date: Thu, 5 Sep 2024 11:50:57 +0200 Subject: [PATCH] Dev (#2537) * 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 EE heatmaps --- ee/api/chalicelib/core/heatmaps.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ee/api/chalicelib/core/heatmaps.py b/ee/api/chalicelib/core/heatmaps.py index 357a7a9be..270e2c9d7 100644 --- a/ee/api/chalicelib/core/heatmaps.py +++ b/ee/api/chalicelib/core/heatmaps.py @@ -78,7 +78,6 @@ def get_by_url(project_id, data: schemas.GetHeatMapPayloadSchema): logger.debug("---------") try: rows = cur.execute(query) - except Exception as err: logger.warning("--------- HEATMAP 2 SEARCH QUERY EXCEPTION CH -----------") logger.warning(query) @@ -270,7 +269,7 @@ if not config("EXP_SESSIONS_SEARCH", cast=bool, default=False): message_id, timestamp, host, - path + path, path AS value, path AS url, 'LOCATION' AS type