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'); + } }