[Events] Fixed csv export after secondary groups

This commit is contained in:
fermin831 2018-04-18 19:47:20 +02:00
parent 235f20ef86
commit 57c928ec8a

View File

@ -87,7 +87,9 @@ switch ($config["dbtype"]) {
case "postgresql":
case "oracle":
$sql = "SELECT *
FROM tevento
FROM tevento te
LEFT JOIN tagent_secondary_group tasg
ON te.id_grupo = tasg.id_group
WHERE 1=1 ".$sql_post."
ORDER BY utimestamp DESC";
break;