diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index 2353279c65..eba07feece 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -1235,6 +1235,8 @@ function events_get_all( io_safe_input($filter['user_comment']), $filter['user_comment'] ); + + array_unshift($fields, 'DISTINCT te.id_evento AS distinct_event'); } // Source.