mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 05:44:36 +02:00
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…
x
Reference in New Issue
Block a user