diff --git a/library/Eagle/Model/NotificationHistory.php b/library/Eagle/Model/NotificationHistory.php index 6b44d644..6318a569 100644 --- a/library/Eagle/Model/NotificationHistory.php +++ b/library/Eagle/Model/NotificationHistory.php @@ -38,6 +38,11 @@ class NotificationHistory extends Model ]; } + public function getSortRules() + { + return ['event_time DESC']; + } + public function createBehaviors(Behaviors $behaviors) { $behaviors->add(new Timestamp([