mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
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;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function columns(array $columns)
|
||||||
|
{
|
||||||
|
parent::columns($columns);
|
||||||
|
$this->requireVirtualTable('hosts');
|
||||||
|
$this->requireVirtualTable('services');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user