From 0fa852ee4e9c3060ba7fc0daf4b08a44ea151f7f Mon Sep 17 00:00:00 2001 From: polo Date: Thu, 2 Jul 2026 00:01:31 +0200 Subject: =?UTF-8?q?entit=C3=A9=20Presentation,=20MAJ=20filtre=20ViewContro?= =?UTF-8?q?ller::SPECIAL=5FPAGES,=20table=20node=5Fdata=20non=20all=C3=A9g?= =?UTF-8?q?=C3=A9e=20pour=20l'instant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/model/Model.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/model/Model.php') diff --git a/src/model/Model.php b/src/model/Model.php index 1054d57..15ff12a 100644 --- a/src/model/Model.php +++ b/src/model/Model.php @@ -9,6 +9,7 @@ declare(strict_types=1); use Doctrine\ORM\EntityManager; use App\Entity\Page; use App\Entity\Node; +use App\Entity\Presentation; use Doctrine\ORM\QueryBuilder; use Symfony\Component\HttpFoundation\Request; @@ -60,7 +61,7 @@ class Model foreach($bulk_data as $parent_block){ // groupes d'articles triƩs par bloc, permet de paginer par bloc - if(Blocks::hasPresentation($parent_block->getName())){ // = post_block ou news_block + if(Presentation::hasPresentation($parent_block->getName())){ // = post_block ou news_block $bulk_data = array_merge($bulk_data, $this->getNextArticles($parent_block, $request)[0]); } -- cgit v1.2.3