From 125ecb2f0ae414e569bab635cf7bbd797970ecbf Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 5 Oct 2015 14:05:17 +0200 Subject: [PATCH] ActionForm: Allow contact_name and contactgroup_name as filter column Because it works now. --- .../monitoring/application/forms/Navigation/ActionForm.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/monitoring/application/forms/Navigation/ActionForm.php b/modules/monitoring/application/forms/Navigation/ActionForm.php index e712b254d..fbd0a51f2 100644 --- a/modules/monitoring/application/forms/Navigation/ActionForm.php +++ b/modules/monitoring/application/forms/Navigation/ActionForm.php @@ -47,6 +47,8 @@ class ActionForm extends NavigationItemForm 'instance_name', 'service_description', 'servicegroup_name', + 'contact_name', + 'contactgroup_name', function ($c) { return preg_match('/^_(?:host|service)_/', $c); } @@ -63,6 +65,8 @@ class ActionForm extends NavigationItemForm 'hostgroup_name', 'service_description', 'servicegroup_name', + 'contact_name', + 'contactgroup_name', '_(host|service)_' )) ));