ServicegroupQuery: Join contactgroups with the correct type id

This commit is contained in:
Johannes Meyer 2020-11-16 13:13:16 +01:00
parent fbacd3db36
commit 459e61ba55
1 changed files with 1 additions and 1 deletions

View File

@ -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',
[]
);
}