parent
37b0b8bc84
commit
c3cd63368b
|
@ -5,18 +5,6 @@ namespace Icinga\Module\Monitoring\DataView;
|
|||
|
||||
class Contact extends DataView
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function isValidFilterTarget($column)
|
||||
{
|
||||
if ($column[0] === '_' && preg_match('/^_(?:host|service)_/', $column)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return parent::isValidFilterTarget($column);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@ -63,7 +51,7 @@ class Contact extends DataView
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getFilterColumns()
|
||||
public function getStaticFilterColumns()
|
||||
{
|
||||
return array(
|
||||
'contact',
|
||||
|
|
Loading…
Reference in New Issue