From d58c35c46104669d507834efb910b86b8ba6f925 Mon Sep 17 00:00:00 2001 From: zonky2 Date: Sun, 25 Feb 2024 16:16:43 +0100 Subject: [PATCH] Set priority for newsListFetchItems Set priority for newsListFetchItems for better collaboration with news categories see also https://github.com/codefog/contao-news_categories/pull/258 --- src/EventListener/NewsListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EventListener/NewsListener.php b/src/EventListener/NewsListener.php index ea1d378..bbc229b 100644 --- a/src/EventListener/NewsListener.php +++ b/src/EventListener/NewsListener.php @@ -100,7 +100,7 @@ public function newsListCountItems($newsArchives, $blnFeatured, ModuleNewsList $ * * @return Model\Collection|NewsModel|false * - * @Hook("newsListFetchItems") + * @Hook("newsListFetchItems", priority=100) */ public function newsListFetchItems( $newsArchives, $blnFeatured, $limit, $offset, ModuleNewsList $module ) {