From e7f70e243519ed44972e2d0520e317175da7a457 Mon Sep 17 00:00:00 2001 From: Blake Niemyjski Date: Fri, 3 Feb 2023 08:34:50 -0600 Subject: [PATCH] Fixed stack count total --- src/app/stack/stack-controller.js | 2 +- src/app/stack/stack.tpl.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/stack/stack-controller.js b/src/app/stack/stack-controller.js index 0064b488..ae08b0c9 100644 --- a/src/app/stack/stack-controller.js +++ b/src/app/stack/stack-controller.js @@ -248,7 +248,7 @@ var results = response.data.plain(); vm._users = getAggregationValue(results, 'cardinality_user', 0); vm.stats = { - events: $filter('number')(getAggregationValue(results, 'sum_count', 0), 0), + events: getAggregationValue(results, 'sum_count', 0), users: buildUserStat(vm._users, vm._total_users), usersTitle: buildUserStatTitle(vm._users, vm._total_users), first_occurrence: getAggregationValue(results, 'min_date'), diff --git a/src/app/stack/stack.tpl.html b/src/app/stack/stack.tpl.html index 8d639851..a403dfe6 100644 --- a/src/app/stack/stack.tpl.html +++ b/src/app/stack/stack.tpl.html @@ -14,7 +14,7 @@ {{::'Events' | translate}} - {{vm.stats.events}} + {{vm.stats.events | number:0}} {{vm.stack.total_occurrences | number:0}}