From 9f88389d78755d7c69c29e9db8f114fd1dbef034 Mon Sep 17 00:00:00 2001 From: polo Date: Fri, 3 Oct 2025 15:42:22 +0200 Subject: =?UTF-8?q?regression=20AbstractBuilder->render=20inaccessible,=20?= =?UTF-8?q?s=C3=A9paration=20dans=20Director=20=5F=5Fconstruct/makeMenuAnd?= =?UTF-8?q?Paths?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/model/entities/Node.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/model') diff --git a/src/model/entities/Node.php b/src/model/entities/Node.php index ec5f081..76ef74b 100644 --- a/src/model/entities/Node.php +++ b/src/model/entities/Node.php @@ -177,7 +177,8 @@ class Node } } - private function sortNews(bool $chrono = false) // affichage du plus récent au plus ancien par défaut + // remplacée par "ORDER BY a.date_time" en DQL + /*private function sortNews(bool $chrono = false) // affichage du plus récent au plus ancien par défaut { // tri par insertion similaire à Position::sortChildren for($i = 1; $i < count($this->children); $i++){ @@ -192,7 +193,7 @@ class Node } $this->children[$j + 1] = $tmp; } - } + }*/ public function removeChild(self $child): void { -- cgit v1.2.3