Skip to content

Commit

Permalink
VCST-2482: Fix wrong total count on widget. (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegoO authored Dec 26, 2024
1 parent 208e364 commit 8d1ef3a
Show file tree
Hide file tree
Showing 2 changed files with 279 additions and 269 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
angular.module('virtoCommerce.pricingModule')
angular.module('virtoCommerce.pricingModule')
.controller('virtoCommerce.pricingModule.pricesWidgetController', ['$scope', 'platformWebApp.bladeNavigationService', 'virtoCommerce.pricingModule.prices', function ($scope, bladeNavigationService, prices) {
var blade = $scope.widget.blade;

Expand All @@ -7,6 +7,7 @@

prices.search({
priceListId: blade.currentEntityId,
groupByProducts: true,
take: 0
}, function (data) {
$scope.priceCount = data.totalCount;
Expand All @@ -30,4 +31,4 @@
};

refresh();
}]);
}]);
Loading

0 comments on commit 8d1ef3a

Please sign in to comment.