DataView\Contact: Add missing filter columns

refs #8613
This commit is contained in:
Johannes Meyer 2015-04-10 09:49:47 +02:00
parent 0ec1a18844
commit 6d03b2fe8f
1 changed files with 6 additions and 5 deletions

View File

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