From e2f9c362edc91fb2687ae5e8e06c700de8859305 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Diaz Date: Mon, 26 Oct 2015 12:20:02 +0100 Subject: [PATCH] Fixed lost filter in alerts list. Ticket#2919 --- pandora_console/godmode/alerts/alert_list.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pandora_console/godmode/alerts/alert_list.php b/pandora_console/godmode/alerts/alert_list.php index a5d21aa4b3..aee45c5f2d 100644 --- a/pandora_console/godmode/alerts/alert_list.php +++ b/pandora_console/godmode/alerts/alert_list.php @@ -184,6 +184,7 @@ if ($delete_action) { } if ($enable_alert) { + $searchFlag = true; $id_alert = (int) get_parameter ('id_alert'); $result = alerts_agent_module_disable ($id_alert, false); @@ -200,6 +201,7 @@ if ($enable_alert) { } if ($disable_alert) { + $searchFlag = true; $id_alert = (int) get_parameter ('id_alert'); $result = alerts_agent_module_disable ($id_alert, true); @@ -216,6 +218,7 @@ if ($disable_alert) { } if ($standbyon_alert) { + $searchFlag = true; $id_alert = (int) get_parameter ('id_alert'); $result = alerts_agent_module_standby ($id_alert, true); @@ -232,6 +235,7 @@ if ($standbyon_alert) { } if ($standbyoff_alert) { + $searchFlag = true; $id_alert = (int) get_parameter ('id_alert'); $result = alerts_agent_module_standby ($id_alert, false); @@ -268,6 +272,7 @@ if ($id_agente) { return; } else { + $searchFlag = true; if (!defined('METACONSOLE')) { // The tabs will be shown only with manage alerts permissions if(check_acl ($config['id_user'], 0, "LW")) {