diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 7411b77dbe..638c5f7f90 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2013-02-28 Miguel de Dios + + * operation/netflow/nf_live_view.php: fixed load filter from the + group all. + + Fixes: #3606272 + 2013-02-28 Miguel de Dios * include/functions_events.php, diff --git a/pandora_console/operation/netflow/nf_live_view.php b/pandora_console/operation/netflow/nf_live_view.php index c270d18c05..92a7522977 100644 --- a/pandora_console/operation/netflow/nf_live_view.php +++ b/pandora_console/operation/netflow/nf_live_view.php @@ -273,13 +273,20 @@ echo '
"; } + + echo "" . ''.__('Load filter').'' . ""; $user_groups = users_get_groups ($config['id_user'], "AR", $own_info['is_admin'], true); - $sql = "SELECT * FROM tnetflow_filter WHERE id_group IN (".implode(',', array_keys ($user_groups)).")"; + $user_groups[0] = 0; //Add all groups. + $sql = "SELECT * + FROM tnetflow_filter + WHERE id_group IN (".implode(',', array_keys ($user_groups)).")"; echo "" . html_print_select_from_sql ($sql, 'filter_id', $filter_id, '', __('none'), 0, true) . ""; echo ""; + + echo ""; if ($netflow_disable_custom_lvfilters) {