From 98f2da818f6e4ce3e48aaa7544244f488a9094bb Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 1 Oct 2015 18:17:22 +0200 Subject: [PATCH] Alertsummary: Fix that the limiter does not have any effect ... refs #5543 --- .../application/controllers/AlertsummaryController.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/monitoring/application/controllers/AlertsummaryController.php b/modules/monitoring/application/controllers/AlertsummaryController.php index 242170b7f..f8d37e715 100644 --- a/modules/monitoring/application/controllers/AlertsummaryController.php +++ b/modules/monitoring/application/controllers/AlertsummaryController.php @@ -86,6 +86,11 @@ class AlertsummaryController extends Controller $this->view->notificationsUrl = 'monitoring/list/notifications'; $this->setupLimitControl(); + if (($limit = $this->params->get('limit'))) { + $query->limit($limit); + } else { + $query->limit(25); + } } /**