From 459e61ba559abbf45326b7ee2860cb1c4b9b11ec Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 16 Nov 2020 13:13:16 +0100 Subject: [PATCH] ServicegroupQuery: Join contactgroups with the correct type id --- .../library/Monitoring/Backend/Ido/Query/ServicegroupQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicegroupQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicegroupQuery.php index 707f2794f..27877b946 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicegroupQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicegroupQuery.php @@ -137,7 +137,7 @@ class ServicegroupQuery extends IdoQuery [] )->joinLeft( ['scgo' => 'icinga_objects'], - 'scgo.object_id = scg.contactgroup_object_id AND scgo.is_active = 1 AND scgo.objecttype_id = 10', + 'scgo.object_id = scg.contactgroup_object_id AND scgo.is_active = 1 AND scgo.objecttype_id = 11', [] ); }