diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostgroupsummaryQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostgroupsummaryQuery.php index b35f50a19..ce5e0f85b 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostgroupsummaryQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostgroupsummaryQuery.php @@ -115,7 +115,7 @@ class HostgroupsummaryQuery extends IdoQuery $this->subQueries[] = $services; $this->summaryQuery = $this->db->select()->union(array($hosts, $services), Zend_Db_Select::SQL_UNION_ALL); $this->select->from(array('statussummary' => $this->summaryQuery), array()); - $this->group(array('hostgroup_name', 'hostgroup_alias')); + $this->group(array('statussummary.hostgroup_name', 'statussummary.hostgroup_alias')); $this->joinedVirtualTables['hoststatussummary'] = true; }