ServicegroupQuery: Join contactgroups with the correct type id
This commit is contained in:
parent
fbacd3db36
commit
459e61ba55
|
@ -137,7 +137,7 @@ class ServicegroupQuery extends IdoQuery
|
||||||
[]
|
[]
|
||||||
)->joinLeft(
|
)->joinLeft(
|
||||||
['scgo' => 'icinga_objects'],
|
['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