1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 09:51:09 +03:00

Merge pull request #1287 from mabashian/1077-host-pagination

Fixed host/groups pagination issue
This commit is contained in:
Michael Abashian 2018-04-09 15:49:52 -04:00 committed by GitHub
commit 335e8be709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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('.', {