From 358662765e931a7a35ddbeb92d2be04b270a2a6c Mon Sep 17 00:00:00 2001 From: Leigh Johnson Date: Fri, 24 Jun 2016 16:07:35 -0400 Subject: [PATCH] consume the /group/:id/all_hosts endpoint to build subgroups host list, resolves #2640 (#2642) --- .../client/src/inventories/manage/inventory-manage.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/inventories/manage/inventory-manage.service.js b/awx/ui/client/src/inventories/manage/inventory-manage.service.js index d61d27e758..4329ba5a73 100644 --- a/awx/ui/client/src/inventories/manage/inventory-manage.service.js +++ b/awx/ui/client/src/inventories/manage/inventory-manage.service.js @@ -47,7 +47,7 @@ return url; }, childHostsUrl: function(id, failed){ - var url = GetBasePath('groups') + id + '/hosts' + + var url = GetBasePath('groups') + id + '/all_hosts' + (failed === 'true' ? '?has_active_failures=true' : '?'); return url; },