mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 11:50:42 -03:30
make sure instances list is always ordered
This commit is contained in:
parent
5c874c6b3d
commit
8bd801fd07
@ -251,7 +251,13 @@ function InstanceGroupsRun ($stateExtender, strings, ComponentsStrings) {
|
||||
}
|
||||
},
|
||||
resolve: {
|
||||
resolvedModels: InstanceGroupsResolve
|
||||
resolvedModels: InstanceGroupsResolve,
|
||||
Dataset: ['GetBasePath', 'QuerySet', '$stateParams',
|
||||
function(GetBasePath, qs, $stateParams) {
|
||||
let path = `${GetBasePath('instance_groups')}${$stateParams['instance_group_id']}/instances`;
|
||||
return qs.search(path, $stateParams[`instance_search`]);
|
||||
}
|
||||
]
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user