mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
Fixed pagination by stringifying the page number before trying to update the query param
This commit is contained in:
parent
2b0598f092
commit
d589dceaa2
@ -18,7 +18,7 @@ export default ['$scope', '$stateParams', '$state', '$filter', 'GetBasePath', 'Q
|
||||
return;
|
||||
}
|
||||
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('.', {
|
||||
[$scope.iterator + '_search']: queryset
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user