mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
Host: Join comments with a LEFT join
This commit is contained in:
parent
7958eda837
commit
f743afd1ae
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ class Host extends Model
|
|||
->through(HostgroupMember::class);
|
||||
|
||||
$relations->hasOne('state', HostState::class)->setJoinType('LEFT');
|
||||
$relations->hasMany('comment', Comment::class);
|
||||
$relations->hasMany('comment', Comment::class)->setJoinType('LEFT');
|
||||
$relations->hasMany('downtime', Downtime::class);
|
||||
$relations->hasMany('history', History::class);
|
||||
$relations->hasMany('notification', Notification::class);
|
||||
|
|
|
|||
Loading…
Reference in a new issue