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:
parent
a32f505fdd
commit
c6cf51b44c
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue