mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Active flag removal fix for .filter->all
This commit is contained in:
parent
a845d5c0bb
commit
d6429eb1e8
@ -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, [])
|
||||
|
Loading…
Reference in New Issue
Block a user