les racines sont triées par plugin

This commit is contained in:
tibo
2020-03-03 07:10:36 +00:00
parent 603b76e1aa
commit 093df5de53

View File

@@ -16,7 +16,7 @@ $where_clause = 'WHERE 1 = 1';
$sql = ' $sql = '
WITH arbre (parent, id, link, code, name, level, path) AS ( WITH arbre (parent, id, link, code, name, level, path) AS (
SELECT 0, id, link, code, libelle, 0, "{0} [" || id || "]" SELECT 0, id, link, code, libelle, 0, "{" || plugin || "} [" || id || "]"
FROM v_items_tree WHERE parent IS NULL FROM v_items_tree WHERE parent IS NULL
UNION ALL UNION ALL
SELECT SELECT