Reset page number to one when applying filter on list view
This commit is contained in:
@@ -94,7 +94,8 @@ function listViewController($rootScope, $scope, $routeParams, $injector, notific
|
||||
};
|
||||
|
||||
//assign debounce method to the search to limit the queries
|
||||
$scope.search = _.debounce(function() {
|
||||
$scope.search = _.debounce(function () {
|
||||
$scope.options.pageNumber = 1;
|
||||
$scope.reloadView($scope.contentId);
|
||||
}, 100);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user