Merge branch 'ent-4887-service-tree-view-no-carga' into 'develop'

Solved issue with query

See merge request artica/pandorafms!2858
This commit is contained in:
vgilc 2019-12-10 11:46:17 +01:00
commit 7db5f8b9b1
1 changed files with 4 additions and 2 deletions

View File

@ -141,11 +141,13 @@ class TreeService extends Tree
FROM tservice ts
LEFT JOIN tservice_element tse
ON ts.id=tse.id_service
GROUP BY id
WHERE
1=1
%s
GROUP BY id
) as t1
ON tss.id_service_child = t1.id
WHERE tss.id_service_child IS NULL
%s
",
$groups_acl
);