Solved issue with query

This commit is contained in:
Jose Gonzalez 2019-11-04 17:45:56 +01:00
parent 6f3e42e732
commit f584ac7835
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
);