mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
change list_alerts function to handle GET filter not POST
This commit is contained in:
@ -623,6 +623,7 @@ 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