From 4eb6adb5e7a5d988f1efe23735f5f0f1224c3707 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Mon, 27 Jun 2016 15:35:34 -0400 Subject: [PATCH] Add notification_template to summary fields --- awx/api/serializers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/api/serializers.py b/awx/api/serializers.py index 8ff163a4b6..8803d3301f 100644 --- a/awx/api/serializers.py +++ b/awx/api/serializers.py @@ -89,7 +89,8 @@ SUMMARIZABLE_FK_FIELDS = { 'current_job': DEFAULT_SUMMARY_FIELDS + ('status', 'failed', 'license_error'), 'inventory_source': ('source', 'last_updated', 'status'), 'source_script': ('name', 'description'), - 'role': ('id', 'role_field') + 'role': ('id', 'role_field'), + 'notification_template': DEFAULT_SUMMARY_FIELDS, }