We're trying to make a filter that allows you to pick multiple items from 1 category, and multiple items from another category and return back all appropriate elements.
We're in PHP land not twig so the starting point we have is...
$results = Entry::find() ->type('recipe') ->relatedTo($conditions) ->all();
The pseudo query would be...
SELECT * FROM `entries` WHERE (`food_type` = "cake" or `category` = "burger") AND (`weather` = "summer" or `tag` is "hot")
I've got the IDs and the hydrated models/elements of each category but can't figure out how to nest the conditions using the
relatedTo method on the query..