From 6f02ee82068901e627ca99a532c222d2b825a875 Mon Sep 17 00:00:00 2001 From: marcos Date: Fri, 4 Sep 2020 12:38:46 +0200 Subject: [PATCH] fixed error with refresh in events filter --- pandora_console/operation/events/events.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php index 59fbb5a184..f7743fd8cf 100644 --- a/pandora_console/operation/events/events.php +++ b/pandora_console/operation/events/events.php @@ -136,8 +136,8 @@ $id_agent = get_parameter( $filter['id_agent'] ); $text_module = get_parameter( - 'filter[text_module]', - $filter['text_module'] + 'filter[module_search]', + $filter['module_search'] ); $id_agent_module = get_parameter( 'filter[id_agent_module]', @@ -470,6 +470,10 @@ $tags_select_with = []; $tags_select_without = []; $tag_with_temp = []; $tag_without_temp = []; +$tag_with = json_decode(base64_decode($tag_with), true); +$tag_without = json_decode(base64_decode($tag_without), true); + + foreach ($tags as $id_tag => $tag) { if ((array_search($id_tag, $tag_with) === false) || (array_search($id_tag, $tag_with) === null)