diff --git a/library/Icingadb/Model/NotificationHistory.php b/library/Icingadb/Model/NotificationHistory.php index 9901b7a8..ec656b65 100644 --- a/library/Icingadb/Model/NotificationHistory.php +++ b/library/Icingadb/Model/NotificationHistory.php @@ -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)