mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
Service: Use LEFT JOIN for downtimes
This commit is contained in:
parent
882b7dae66
commit
c620fed954
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ class Service extends Model
|
|||
|
||||
$relations->hasOne('state', ServiceState::class)->setJoinType('LEFT');
|
||||
$relations->hasMany('comment', Comment::class)->setJoinType('LEFT');
|
||||
$relations->hasMany('downtime', Downtime::class);
|
||||
$relations->hasMany('downtime', Downtime::class)->setJoinType('LEFT');
|
||||
$relations->hasMany('history', History::class);
|
||||
$relations->hasMany('notification', Notification::class);
|
||||
$relations->hasMany('notification_history', NotificationHistory::class);
|
||||
|
|
|
|||
Loading…
Reference in a new issue