mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
NotificationHistory: Add sort rules
This commit is contained in:
parent
5638139786
commit
669ab2035f
1 changed files with 5 additions and 0 deletions
|
|
@ -38,6 +38,11 @@ class NotificationHistory extends Model
|
|||
];
|
||||
}
|
||||
|
||||
public function getSortRules()
|
||||
{
|
||||
return ['event_time DESC'];
|
||||
}
|
||||
|
||||
public function createBehaviors(Behaviors $behaviors)
|
||||
{
|
||||
$behaviors->add(new Timestamp([
|
||||
|
|
|
|||
Loading…
Reference in a new issue