From 463fa45f208e3517472ce46e28f3c3f31c12ed15 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 22 Sep 2015 13:33:37 +0200 Subject: [PATCH] monitoring: Move instance_name from query to filter columns in the downtime data view We don't select but filter for this column --- modules/monitoring/library/Monitoring/DataView/Downtime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monitoring/library/Monitoring/DataView/Downtime.php b/modules/monitoring/library/Monitoring/DataView/Downtime.php index 57450c948..771f029ae 100644 --- a/modules/monitoring/library/Monitoring/DataView/Downtime.php +++ b/modules/monitoring/library/Monitoring/DataView/Downtime.php @@ -14,7 +14,6 @@ class Downtime extends DataView public function getColumns() { return array( - 'instance_name', 'downtime_author_name', 'downtime_comment', 'downtime_duration', @@ -47,6 +46,7 @@ class Downtime extends DataView 'downtime_author', 'host', 'host_alias', 'hostgroup', 'hostgroup_alias', 'hostgroup_name', + 'instance_name', 'service', 'servicegroup', 'servicegroup_alias', 'servicegroup_name' );