ServicestatusQuery: Join contactgroups with the correct type id
This commit is contained in:
parent
459e61ba55
commit
b01bd74d5c
|
@ -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',
|
||||
[]
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue