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