mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 00:08:44 -03:30
Fixed pagination by stringifying the page number before trying to update the query param
This commit is contained in:
@@ -18,7 +18,7 @@ export default ['$scope', '$stateParams', '$state', '$filter', 'GetBasePath', 'Q
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
path = GetBasePath($scope.basePath) || $scope.basePath;
|
path = GetBasePath($scope.basePath) || $scope.basePath;
|
||||||
queryset = _.merge($stateParams[`${$scope.iterator}_search`], { page: page });
|
queryset = _.merge($stateParams[`${$scope.iterator}_search`], { page: page.toString() });
|
||||||
$state.go('.', {
|
$state.go('.', {
|
||||||
[$scope.iterator + '_search']: queryset
|
[$scope.iterator + '_search']: queryset
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user