mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 05:55:59 -03:30
Active flag removal fix for .filter->all
This commit is contained in:
@@ -1637,7 +1637,7 @@ class InventoryScriptView(RetrieveAPIView):
|
||||
group_children.append(from_group_name)
|
||||
|
||||
# Now use in-memory maps to build up group info.
|
||||
for group in obj.groups:
|
||||
for group in obj.groups.all():
|
||||
group_info = OrderedDict()
|
||||
group_info['hosts'] = group_hosts_map.get(group.id, [])
|
||||
group_info['children'] = group_children_map.get(group.id, [])
|
||||
|
||||
Reference in New Issue
Block a user