Alertsummary: Fix that the limiter does not have any effect ...
refs #5543
This commit is contained in:
parent
378be3fd06
commit
98f2da818f
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue