Merge branch 'fixed-csv-export-events-secondary-groups' into 'develop'
[Events] Fixed csv export after secondary groups See merge request artica/pandorafms!1459
This commit is contained in:
commit
1fdb90f075
|
@ -87,7 +87,9 @@ switch ($config["dbtype"]) {
|
||||||
case "postgresql":
|
case "postgresql":
|
||||||
case "oracle":
|
case "oracle":
|
||||||
$sql = "SELECT *
|
$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."
|
WHERE 1=1 ".$sql_post."
|
||||||
ORDER BY utimestamp DESC";
|
ORDER BY utimestamp DESC";
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue