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
This commit is contained in:
Johannes Meyer 2015-06-15 16:24:57 +02:00
parent a32f505fdd
commit c6cf51b44c
1 changed files with 10 additions and 0 deletions

View File

@ -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');
}
}