Closed drewbaker closed 3 years ago
It works if I have taxArray
as an array in my vars, like this:
"where": {"taxQuery": {"taxArray": [{"terms": "featured", "taxonomy": "FILTER", "field": "SLUG"}] }}
Weird thing is if I don't use vars, and just code in the taxArray
then it works fine. Also the error complaining about terms not being an object threw me off.
This query:
With these var's:
Gives this error:
Not it works if I don't pass in the where arg as a var and just hardcode it into the query. What am I doing wrong?