Merge branch 'ent-4608-Bug-en-el-visor-de-eventos-cuando-el-lenguaje-esta-en-español' into 'develop'

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

See merge request artica/pandorafms!2706
This commit is contained in:
Daniel Rodriguez 2019-09-05 11:39:45 +02:00
commit c0a0364164
1 changed files with 4 additions and 5 deletions

View File

@ -1031,15 +1031,14 @@ $adv_inputs[] = $in;
// Only alert events. // Only alert events.
$data = html_print_select( $data = html_print_select(
[ [
'-1' => __('All'), '0' => __('Filter alert events'),
'0' => __('Filter alert events'), '1' => __('Only alert events'),
'1' => __('Only alert events'),
], ],
'filter_only_alert', 'filter_only_alert',
$filter_only_alert, $filter_only_alert,
'', '',
'', __('All'),
'', -1,
true true
); );
$in = '<div class="filter_input"><label>'.__('Alert events').'</label>'; $in = '<div class="filter_input"><label>'.__('Alert events').'</label>';