I have 2 categories, model and feature which I've added as a field to an entry. I want to find entries with the model category using "or" but the feature category using "and". I believe the "relatedTo" functionality only allows one kind which is very restrictive.
{% set model = [24, 25, 26] %}
{% set feature = ['AND', 46, 47, 48] %}
{%
set entries = craft.entries({
relatedTo: [model, feature]
})
%}
The code above is an example, but it returns no results. How else can I achieve this?