From 6d03b2fe8f06d1629e4636a0c35c6a1aa10448f5 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 10 Apr 2015 09:49:47 +0200 Subject: [PATCH] DataView\Contact: Add missing filter columns refs #8613 --- .../library/Monitoring/DataView/Contact.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/monitoring/library/Monitoring/DataView/Contact.php b/modules/monitoring/library/Monitoring/DataView/Contact.php index 34bd67b43..b70dcebc7 100644 --- a/modules/monitoring/library/Monitoring/DataView/Contact.php +++ b/modules/monitoring/library/Monitoring/DataView/Contact.php @@ -8,7 +8,6 @@ namespace Icinga\Module\Monitoring\DataView; */ class Contact extends DataView { - /** * Retrieve columns provided by this view * @@ -17,7 +16,6 @@ class Contact extends DataView public function getColumns() { return array( - 'contact', 'contact_name', 'contact_alias_name', 'contact_email_address', @@ -43,9 +41,7 @@ class Contact extends DataView 'host_name', 'service_object_id', 'service_host_name', - 'service_description', - 'service', - 'host', + 'service_description' ); } @@ -62,4 +58,9 @@ class Contact extends DataView ) ); } + + public function getFilterColumns() + { + return array('contact', 'alias', 'email', 'host', 'service'); + } }