ServicestatusQuery: Join contactgroups with the correct type id

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

View File

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