Magic Search is firing multiple checkFacets event
On removeFacet, magic-search is emitting 2 checkFacets event instead of just one Change-Id: I5e35bb25c56b97294deacab68a543511dd40ad12 Partial-Bug: #1496627
This commit is contained in:
parent
a2c1e79cde
commit
fc1220d53c
@ -204,9 +204,6 @@
|
||||
var currentSearch = angular.copy($scope.currentSearch);
|
||||
$scope.currentSearch = [];
|
||||
$scope.initFacets(currentSearch);
|
||||
|
||||
// broadcast to check facets for server-side
|
||||
$scope.$emit('checkFacets', $scope.currentSearch);
|
||||
};
|
||||
|
||||
$scope.emitQuery();
|
||||
|
Loading…
Reference in New Issue
Block a user