fix bug in events advanced filter: default option other than All

This commit is contained in:
alejandro-campos 2019-09-05 10:37:12 +02:00
parent 6a982697d2
commit 42fad5acb1
1 changed files with 4 additions and 5 deletions

View File

@ -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 = '<div class="filter_input"><label>'.__('Alert events').'</label>';