ActionForm: Allow contact_name and contactgroup_name as filter column
Because it works now.
This commit is contained in:
parent
6a68d25bc3
commit
125ecb2f0a
|
@ -47,6 +47,8 @@ class ActionForm extends NavigationItemForm
|
||||||
'instance_name',
|
'instance_name',
|
||||||
'service_description',
|
'service_description',
|
||||||
'servicegroup_name',
|
'servicegroup_name',
|
||||||
|
'contact_name',
|
||||||
|
'contactgroup_name',
|
||||||
function ($c) {
|
function ($c) {
|
||||||
return preg_match('/^_(?:host|service)_/', $c);
|
return preg_match('/^_(?:host|service)_/', $c);
|
||||||
}
|
}
|
||||||
|
@ -63,6 +65,8 @@ class ActionForm extends NavigationItemForm
|
||||||
'hostgroup_name',
|
'hostgroup_name',
|
||||||
'service_description',
|
'service_description',
|
||||||
'servicegroup_name',
|
'servicegroup_name',
|
||||||
|
'contact_name',
|
||||||
|
'contactgroup_name',
|
||||||
'_(host|service)_<customvar-name>'
|
'_(host|service)_<customvar-name>'
|
||||||
))
|
))
|
||||||
));
|
));
|
||||||
|
|
Loading…
Reference in New Issue