Added an order field to the group events query for oracle

This commit is contained in:
Alejandro Gallardo Escobar 2015-05-21 12:18:31 +02:00
parent b584f94b10
commit 5695611ba5
1 changed files with 2 additions and 1 deletions

View File

@ -203,7 +203,8 @@ function events_get_events_grouped($sql_post, $offset = 0,
FROM $table te
WHERE 1=1 $sql_post
GROUP BY estado, to_char(evento), id_agentmodule$groupby_extra) tb
ON ta.id_evento = tb.id_evento";
ON ta.id_evento = tb.id_evento
ORDER BY tb.timestamp_rep DESC";
$sql = oracle_recode_query ($sql, $set);
}
break;