fix bug in events advanced filter: default option other than All
This commit is contained in:
parent
6a982697d2
commit
42fad5acb1
|
@ -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>';
|
||||
|
|
Loading…
Reference in New Issue