[Events] Fixed csv export after secondary groups

This commit is contained in:
fermin831 2018-04-18 19:47:20 +02:00
parent 14467eb3ac
commit 0b23f25455
1 changed files with 3 additions and 1 deletions

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;