Parcourir la source

les racines sont triées par plugin

master
tibo il y a 5 ans
Parent
révision
093df5de53
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      api/get.php

+ 1
- 1
api/get.php Voir le fichier

@ -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

Chargement…
Annuler
Enregistrer