mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
change list_alerts function to handle GET filter not POST
This commit is contained in:
@@ -623,7 +623,6 @@ function list_alerts() {
|
|||||||
'err-msg' => '',
|
'err-msg' => '',
|
||||||
'count' => $total_alerts,
|
'count' => $total_alerts,
|
||||||
'alerts' => $alerts,
|
'alerts' => $alerts,
|
||||||
'debug' => $_GET['state']
|
|
||||||
);
|
);
|
||||||
$app->response->setStatus('200');
|
$app->response->setStatus('200');
|
||||||
$app->response->headers->set('Content-Type', 'application/json');
|
$app->response->headers->set('Content-Type', 'application/json');
|
||||||
|
|||||||
Reference in New Issue
Block a user