From c6cf51b44c87e528b2837d4407d19520b4cff2b3 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 15 Jun 2015 16:24:57 +0200 Subject: [PATCH] NotificationQuery: Force that the host and service subqueries are instantiated Quick and dirty. I do not have enough time for a more proper version... refs #9009 --- .../Monitoring/Backend/Ido/Query/NotificationQuery.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/NotificationQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/NotificationQuery.php index b13a338b0..3745179a0 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/NotificationQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/NotificationQuery.php @@ -159,4 +159,14 @@ class NotificationQuery extends IdoQuery } return $this; } + + /** + * {@inheritdoc} + */ + public function columns(array $columns) + { + parent::columns($columns); + $this->requireVirtualTable('hosts'); + $this->requireVirtualTable('services'); + } }