From 14c3eaffbb48f46ffb87f2423935705578afc7d6 Mon Sep 17 00:00:00 2001 From: Cookiezaurs <> Date: Sat, 5 Apr 2025 14:34:25 +0300 Subject: [PATCH] [reports] Correctly match event for email report if event key contains '.' --- CHANGELOG.md | 4 ++++ plugins/reports/api/reports.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9eba7a796de..a46c36120f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## Version 24.05.X +Fixes: +- [reports] Correctly match event for email report if event key contains '.' + ## Version 24.05.28 Enterprise Fixes: - [cohorts] Fixed issue with combining multiple cohorts diff --git a/plugins/reports/api/reports.js b/plugins/reports/api/reports.js index 7dd1890eb79..1cc57ae2f0c 100644 --- a/plugins/reports/api/reports.js +++ b/plugins/reports/api/reports.js @@ -204,6 +204,10 @@ var metricProps = { } else { event = parts[1]; + for (var z = 2; z < parts.length; z++) { + event += "." + parts[z]; + } + parts[1] = event;//To use it as name also afterwards } if (event) { if (Array.isArray(event)) {