Solved issue with query
This commit is contained in:
parent
6f3e42e732
commit
f584ac7835
|
@ -141,11 +141,13 @@ class TreeService extends Tree
|
||||||
FROM tservice ts
|
FROM tservice ts
|
||||||
LEFT JOIN tservice_element tse
|
LEFT JOIN tservice_element tse
|
||||||
ON ts.id=tse.id_service
|
ON ts.id=tse.id_service
|
||||||
|
WHERE
|
||||||
|
1=1
|
||||||
|
%s
|
||||||
GROUP BY id
|
GROUP BY id
|
||||||
) as t1
|
) as t1
|
||||||
ON tss.id_service_child = t1.id
|
ON tss.id_service_child = t1.id
|
||||||
WHERE tss.id_service_child IS NULL
|
WHERE tss.id_service_child IS NULL
|
||||||
%s
|
|
||||||
",
|
",
|
||||||
$groups_acl
|
$groups_acl
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue