1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-27 16:23:19 +01:00

Fix, aggiunto ordinamento sottomenu

This commit is contained in:
Bacca97 2018-01-31 10:42:42 +01:00
parent 3f7e4fc418
commit 74aa3cf08c

View File

@ -316,7 +316,7 @@ class Modules
$query .= ' LEFT JOIN `zz_modules` AS `t'.$i.'` ON `t'.$i.'`.`parent` = `t'.($i - 1).'`.`id`';
}
$query .= ' WHERE `t0`.`parent` IS NULL ORDER BY `t0`.`order` ASC';
$query .= ' WHERE `t0`.`parent` IS NULL ORDER BY `t0`.`order` ASC, `t1`.`order` ASC, `t2`.`order` ASC';
$modules = $database->fetchArray($query);