From 44a2bd72bd67a76da4853cca6737e41a728d4200 Mon Sep 17 00:00:00 2001 From: Chris Church Date: Mon, 21 Oct 2013 23:06:01 -0400 Subject: [PATCH] AC-585 Added totals fields to inventory group tree. --- awx/main/serializers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/main/serializers.py b/awx/main/serializers.py index 6c320875d8..2615d7521b 100644 --- a/awx/main/serializers.py +++ b/awx/main/serializers.py @@ -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):