Alertsummary: Fix that the limiter does not have any effect ...

refs #5543
This commit is contained in:
Johannes Meyer 2015-10-01 18:17:22 +02:00
parent 378be3fd06
commit 98f2da818f
1 changed files with 5 additions and 0 deletions

View File

@ -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);
}
}
/**