From b25d8e2f3469e3a985675003cd24423479776285 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 18 Jun 2015 12:35:41 +0200 Subject: [PATCH] ServicegroupsummaryQuery: PostgreSQL grouping... refs #9009 --- .../Monitoring/Backend/Ido/Query/ServicegroupsummaryQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicegroupsummaryQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicegroupsummaryQuery.php index 765ca7f7a..f7519edc7 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicegroupsummaryQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicegroupsummaryQuery.php @@ -105,7 +105,7 @@ class ServicegroupsummaryQuery 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('servicegroup_name'); + $this->group(array('servicegroup_name', 'servicegroup_alias')); $this->joinedVirtualTables['servicestatussummary'] = true; }