From 944129d1e679107fa37659208cfe1f80e9d5caf7 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 29 Sep 2015 22:51:06 +0200 Subject: [PATCH] monitoring: Handle joined virtual table hostobjects in IdoQuery::getGroup() refs #9956 --- .../library/Monitoring/Backend/Ido/Query/IdoQuery.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php index 146a2bb1d..4e027ba8b 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php @@ -1021,6 +1021,9 @@ abstract class IdoQuery extends DbQuery $group[] = 'co.object_id'; $group[] = 'c.contact_id'; break; + case 'hostobjects': + $group[] = 'ho.object_id'; + break; case 'hosts': $group[] = 'h.host_id'; break;