From ec67c28629e15528b674c47035e6562a019d38c0 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 9 Apr 2015 14:41:10 +0200 Subject: [PATCH] DataView\EventHistory: Do not permit `host' and `service' to be queried refs #8613 --- .../library/Monitoring/DataView/EventHistory.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/modules/monitoring/library/Monitoring/DataView/EventHistory.php b/modules/monitoring/library/Monitoring/DataView/EventHistory.php index 32eadd4ba..2d56f4c5c 100644 --- a/modules/monitoring/library/Monitoring/DataView/EventHistory.php +++ b/modules/monitoring/library/Monitoring/DataView/EventHistory.php @@ -28,9 +28,7 @@ class EventHistory extends DataView 'attempt', 'max_attempts', 'output', - 'type', - 'host', - 'service' + 'type' ); } @@ -46,8 +44,6 @@ class EventHistory extends DataView public function getFilterColumns() { - return array( - 'hostgroups' - ); + return array('host', 'service', 'hostgroup'); } }