mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Merge pull request #4925 from jaredevantabor/groups-pagination
Groups pagination
This commit is contained in:
@@ -77,7 +77,15 @@
|
|||||||
|
|
||||||
$scope.groupSelect = function(id){
|
$scope.groupSelect = function(id){
|
||||||
var group = $stateParams.group === undefined ? [id] : _($stateParams.group).concat(id).value();
|
var group = $stateParams.group === undefined ? [id] : _($stateParams.group).concat(id).value();
|
||||||
$state.go('inventoryManage', {inventory_id: $stateParams.inventory_id, group: group}, {reload: true});
|
$state.go('inventoryManage', {
|
||||||
|
inventory_id: $stateParams.inventory_id,
|
||||||
|
group: group,
|
||||||
|
group_search: {
|
||||||
|
page_size: '20',
|
||||||
|
page: '1',
|
||||||
|
order_by: 'name',
|
||||||
|
}
|
||||||
|
}, {reload: true});
|
||||||
};
|
};
|
||||||
$scope.createGroup = function(){
|
$scope.createGroup = function(){
|
||||||
$state.go('inventoryManage.addGroup');
|
$state.go('inventoryManage.addGroup');
|
||||||
|
|||||||
Reference in New Issue
Block a user