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

Commit

Permalink
Fixed stack count total
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Feb 3, 2023
1 parent 4de3446 commit e7f70e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/stack/stack-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
2 changes: 1 addition & 1 deletion src/app/stack/stack.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<span class="title">{{::'Events' | translate}}</span>
<span class="sub">
<abbr title="{{::'In Date Range' | translate}}">
{{vm.stats.events}}
{{vm.stats.events | number:0}}
</abbr>
<span class="subAlternative" ng-if="vm.showAllTimeRow()">
<abbr title="{{::'All Time' | translate}}" ng-if="vm.showAllTimeEvents()">{{vm.stack.total_occurrences | number:0}}</abbr>&nbsp
Expand Down

0 comments on commit e7f70e2

Please sign in to comment.