mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
Downtime: Use and adjust getDefaultSort() in favor of removed getSortRules()
This commit is contained in:
parent
e01ce7e38a
commit
c428c33ebd
1 changed files with 2 additions and 2 deletions
|
|
@ -50,9 +50,9 @@ class Downtime extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getSortRules()
|
||||
public function getDefaultSort()
|
||||
{
|
||||
return ['is_in_effect, start_time DESC'];
|
||||
return ['downtime.is_in_effect', 'downtime.start_time desc'];
|
||||
}
|
||||
|
||||
public function createBehaviors(Behaviors $behaviors)
|
||||
|
|
|
|||
Loading…
Reference in a new issue