AC-585 Added totals fields to inventory group tree.

This commit is contained in:
Chris Church 2013-10-21 23:06:01 -04:00
parent 1068e190cb
commit 44a2bd72bd

View File

@ -588,7 +588,8 @@ class GroupTreeSerializer(GroupSerializer):
class Meta:
model = Group
fields = BASE_FIELDS + ('inventory', 'variables', 'has_active_failures',
'hosts_with_active_failures',
'total_hosts', 'hosts_with_active_failures',
'total_groups', 'groups_with_active_failures',
'has_inventory_sources', 'children')
def get_children(self, obj):