mirror of
https://github.com/ansible/awx.git
synced 2026-03-23 20:05:03 -02:30
make sure instances list is always ordered
This commit is contained in:
@@ -251,7 +251,13 @@ function InstanceGroupsRun ($stateExtender, strings, ComponentsStrings) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
resolve: {
|
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`]);
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user