numero2 / contao-tags

Adds the possibility to assign tags to individual elements.
GNU Lesser General Public License v3.0
1 stars 3 forks source link

Set priority for newsListFetchItems #6

Closed zonky2 closed 6 months ago

zonky2 commented 6 months ago

Set priority for newsListFetchItems for better collaboration with news categories

see also https://github.com/codefog/contao-news_categories/pull/258

fritzmg commented 6 months ago

If you want to filter both by tags and categories, i.e. implement interoperability for news lists between multiple extensions, something like https://github.com/inspiredminds/contao-news-filter-event is probably the better solution. Otherwise one hook will always need to implement all filters.

zonky2 commented 6 months ago

I'll use tags OR categories - see https://github.com/codefog/contao-news_categories/pull/258#issuecomment-1962983201

bennyborn commented 6 months ago

Thanks @zonky2