list/services: Avoid duplicates when filtering contact(group)s

fixes #4238

(cherry picked from commit fbacd3db36a02237c03ef1ee2fcc0be1b92f2b57)
This commit is contained in:
Johannes Meyer 2020-11-16 13:10:24 +01:00
parent 4c28a302e4
commit b84a219413

View File

@ -21,7 +21,7 @@ class ServicestatusQuery extends IdoQuery
/**
* {@inheritdoc}
*/
protected $groupOrigin = array('hostgroups', 'servicegroups');
protected $groupOrigin = array('hostgroups', 'servicegroups', 'contacts', 'contactgroups');
protected $subQueryTargets = array(
'hostgroups' => 'hostgroup',