From ba55ad7c5a94d77845a216929f8ca3d7aa352dc7 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 3 Nov 2015 17:17:27 +0100 Subject: [PATCH] monitoring: Fix unhandled service counter in the hosts overview Group by was wrong. fixes #10490 --- .../Backend/Ido/Query/HostserviceproblemsummaryQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostserviceproblemsummaryQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostserviceproblemsummaryQuery.php index 794d51342..ff9d27fb3 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostserviceproblemsummaryQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostserviceproblemsummaryQuery.php @@ -75,7 +75,7 @@ class HostserviceproblemsummaryQuery extends IdoQuery 's.service_object_id = so.object_id AND so.is_active = 1', array() ); - $this->select->group(array('so.object_id')); + $this->select->group(array('s.host_object_id')); $this->joinedVirtualTables['services'] = true; }