Fixed host/groups pagination issue

This commit is contained in:
mabashian 2018-04-09 11:53:59 -04:00
parent 5594bae766
commit 93e6d06bca

View File

@ -41,7 +41,8 @@ export default ['$scope', '$stateParams', '$state', '$filter', 'GetBasePath', 'Q
queryset = _.merge(origQuerySet, { page: page });
} else {
queryset = _.merge($stateParams[`${$scope.iterator}_search`], { page: page });
let origStateParams = _.cloneDeep($stateParams[`${$scope.iterator}_search`]);
queryset = _.merge(origStateParams, { page: page });
}
if (!$scope.querySet) {
$state.go('.', {