1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-23 05:54:03 +01:00

Fix ordinamento voci di menù

This commit is contained in:
Luca 2018-05-09 15:00:42 +02:00
parent dabae5bc66
commit 628c480c4a

View File

@ -214,7 +214,7 @@ class Modules
$query .= ' WHERE `t0`.`parent` IS NULL ORDER BY ';
for ($i = 0; $i < $depth; ++$i) {
$query .= '`t'.$i.'`.`order` ASC';
$query .= '`t'.$i.'`.`order` ASC, `t'.$i.'`.`id` ASC ';
if ($i != $depth - 1) {
$query .= ', ';