Skip to content

Commit

Permalink
Set priority for newsListFetchItems
Browse files Browse the repository at this point in the history
Set priority for newsListFetchItems for better collaboration with news categories

see also codefog/contao-news_categories#258
  • Loading branch information
zonky2 authored Feb 25, 2024
1 parent 1f9c9b7 commit d58c35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventListener/NewsListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {

Expand Down

0 comments on commit d58c35c

Please sign in to comment.