diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index e425c603ea..a2afc20e70 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -742,13 +742,13 @@ function events_print_event_table ($filter = "", $limit = 10, $width = 440, $ret $sql = sprintf ("SELECT * FROM tevento WHERE %s %s - ORDER BY timestamp DESC LIMIT %d", $agent_condition, $filter, $limit); + ORDER BY utimestamp DESC LIMIT %d", $agent_condition, $filter, $limit); break; case "oracle": $sql = sprintf ("SELECT * FROM tevento WHERE %s %s AND rownum <= %d - ORDER BY timestamp DESC", $agent_condition, $filter, $limit); + ORDER BY utimestamp DESC", $agent_condition, $filter, $limit); break; }