From 6ac8e7272866e2c3ea66887b58142717cbb5467b Mon Sep 17 00:00:00 2001 From: PandaWawawa Date: Thu, 8 Oct 2015 15:20:42 +0200 Subject: [PATCH] change list_alerts function to handle GET filter not POST --- html/includes/api_functions.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/html/includes/api_functions.inc.php b/html/includes/api_functions.inc.php index 7141e7bbce..4c55dccac6 100644 --- a/html/includes/api_functions.inc.php +++ b/html/includes/api_functions.inc.php @@ -623,6 +623,7 @@ function list_alerts() { 'err-msg' => '', 'count' => $total_alerts, 'alerts' => $alerts, + 'debug' => $_GET['state'] ); $app->response->setStatus('200'); $app->response->headers->set('Content-Type', 'application/json');