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:
commit
335e8be709
@ -41,7 +41,8 @@ export default ['$scope', '$stateParams', '$state', '$filter', 'GetBasePath', 'Q
|
|||||||
queryset = _.merge(origQuerySet, { page: page });
|
queryset = _.merge(origQuerySet, { page: page });
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
queryset = _.merge($stateParams[`${$scope.iterator}_search`], { page: page });
|
let origStateParams = _.cloneDeep($stateParams[`${$scope.iterator}_search`]);
|
||||||
|
queryset = _.merge(origStateParams, { page: page });
|
||||||
}
|
}
|
||||||
if (!$scope.querySet) {
|
if (!$scope.querySet) {
|
||||||
$state.go('.', {
|
$state.go('.', {
|
||||||
|
Loading…
Reference in New Issue
Block a user