From 7a11676548f124c5cf0deaad983ef232b5c273a8 Mon Sep 17 00:00:00 2001 From: golgoth31 Date: Wed, 22 Mar 2017 14:50:29 +0100 Subject: [PATCH] update data_center api views to add filter on service environment name (#2987) --- src/ralph/data_center/api/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ralph/data_center/api/views.py b/src/ralph/data_center/api/views.py index 85a8afe174..b959a787a8 100644 --- a/src/ralph/data_center/api/views.py +++ b/src/ralph/data_center/api/views.py @@ -67,6 +67,7 @@ class DataCenterAssetViewSet(BaseObjectViewSetMixin, RalphAPIViewSet): 'service_env__service__uid', 'service_env__service__name', 'service_env__service__id', + 'service_env__environment__name', 'firmware_version', 'bios_version', ]