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:
parent
dabae5bc66
commit
628c480c4a
@ -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 .= ', ';
|
||||
|
Loading…
Reference in New Issue
Block a user