mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Merge pull request #4925 from jaredevantabor/groups-pagination
Groups pagination
This commit is contained in:
commit
a86f3d61c2
@ -77,7 +77,15 @@
|
||||
|
||||
$scope.groupSelect = function(id){
|
||||
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(){
|
||||
$state.go('inventoryManage.addGroup');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user