From 42fad5acb134d5109cdf15853581a6acff68946a Mon Sep 17 00:00:00 2001 From: alejandro-campos Date: Thu, 5 Sep 2019 10:37:12 +0200 Subject: [PATCH] fix bug in events advanced filter: default option other than All --- pandora_console/operation/events/events.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php index 52eac8b77e..d525aaa535 100644 --- a/pandora_console/operation/events/events.php +++ b/pandora_console/operation/events/events.php @@ -1029,15 +1029,14 @@ $adv_inputs[] = $in; // Only alert events. $data = html_print_select( [ - '-1' => __('All'), - '0' => __('Filter alert events'), - '1' => __('Only alert events'), + '0' => __('Filter alert events'), + '1' => __('Only alert events'), ], 'filter_only_alert', $filter_only_alert, '', - '', - '', + __('All'), + -1, true ); $in = '
';