I am trying to query all entry elements related to a category but I am only able to get some of the entries to show up when I run craft.entry().relatedTo(category)
I have a matrix field in the entries of my 'pages' and 'news' section, which you can add categories to a category field to. When I run the above code it only returns entries in the 'news' section that are related to the category. Any help on how I could return all entries in those two sections related to a specific category?