diff --git a/library/Icingadb/Model/Host.php b/library/Icingadb/Model/Host.php index 3103f9d0..3796f58b 100644 --- a/library/Icingadb/Model/Host.php +++ b/library/Icingadb/Model/Host.php @@ -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);