diff --git a/api/get.php b/api/get.php index 27da2d4..68d36a4 100644 --- a/api/get.php +++ b/api/get.php @@ -16,7 +16,7 @@ $where_clause = 'WHERE 1 = 1'; $sql = ' 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 UNION ALL SELECT