mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
Join host.state
This commit is contained in:
parent
c70dd89980
commit
5121c2b2f0
1 changed files with 2 additions and 1 deletions
|
|
@ -17,7 +17,8 @@ class ServiceController extends Controller
|
|||
|
||||
$query = Service::on($this->getDb())->with([
|
||||
'state',
|
||||
'host'
|
||||
'host',
|
||||
'host.state'
|
||||
]);
|
||||
$query->getSelectBase()
|
||||
->where(['service.name = ?' => $name])
|
||||
|
|
|
|||
Loading…
Reference in a new issue