From 628c480c4a76ccd9c308987b356d88d2a59382e8 Mon Sep 17 00:00:00 2001 From: Luca Date: Wed, 9 May 2018 15:00:42 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20ordinamento=20voci=20di=20men=C3=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Modules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Modules.php b/src/Modules.php index c5eb4a7fd..c505f811a 100644 --- a/src/Modules.php +++ b/src/Modules.php @@ -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 .= ', ';