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

fixes #4238
This commit is contained in:
Johannes Meyer 2020-11-16 13:10:24 +01:00
parent 0b94489c7e
commit fbacd3db36
1 changed files with 1 additions and 1 deletions

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',