mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-04 04:24:23 +02:00
parent
80b4d96e9f
commit
37b0b8bc84
@ -5,18 +5,6 @@ namespace Icinga\Module\Monitoring\DataView;
|
|||||||
|
|
||||||
class Contactgroup extends DataView
|
class Contactgroup extends DataView
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* {@inheritdoc}
|
|
||||||
*/
|
|
||||||
public function isValidFilterTarget($column)
|
|
||||||
{
|
|
||||||
if ($column[0] === '_' && preg_match('/^_(?:host|service)_/', $column)) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return parent::isValidFilterTarget($column);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
@ -68,7 +56,7 @@ class Contactgroup extends DataView
|
|||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function getFilterColumns()
|
public function getStaticFilterColumns()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
'contactgroup', 'contact',
|
'contactgroup', 'contact',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user