Skip to content
This repository was archived by the owner on Mar 6, 2023. It is now read-only.

Commit e7f70e2

Browse files
committed
Fixed stack count total
1 parent 4de3446 commit e7f70e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/stack/stack-controller.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
var results = response.data.plain();
249249
vm._users = getAggregationValue(results, 'cardinality_user', 0);
250250
vm.stats = {
251-
events: $filter('number')(getAggregationValue(results, 'sum_count', 0), 0),
251+
events: getAggregationValue(results, 'sum_count', 0),
252252
users: buildUserStat(vm._users, vm._total_users),
253253
usersTitle: buildUserStatTitle(vm._users, vm._total_users),
254254
first_occurrence: getAggregationValue(results, 'min_date'),

src/app/stack/stack.tpl.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<span class="title">{{::'Events' | translate}}</span>
1515
<span class="sub">
1616
<abbr title="{{::'In Date Range' | translate}}">
17-
{{vm.stats.events}}
17+
{{vm.stats.events | number:0}}
1818
</abbr>
1919
<span class="subAlternative" ng-if="vm.showAllTimeRow()">
2020
<abbr title="{{::'All Time' | translate}}" ng-if="vm.showAllTimeEvents()">{{vm.stack.total_occurrences | number:0}}</abbr>&nbsp

0 commit comments

Comments
 (0)