In list view too many categories are shown
What was the cause of the issue?
If you have different record types (galleries, contents) with categories assigned, then in news list all categories for all records with the same uid as the news/page are shown.
Steps to reproduce
Create a news page and do not assign any category. Create a tt_content with same uid as the previous created news page and assign a category. In list view this category is shown
Solution
You need to add a condition to select only categories which are assigned to pages. In EXT:just_news/Configuration/TypoScript/RenderingDefinitions/NewsList.typoscript replace the where.wrap on line 41:
where.wrap = sys_category_record_mm.uid_foreign = |
with
where.wrap = sys_category_record_mm.tablenames='pages' AND sys_category_record_mm.uid_foreign = |