Pain point · API & developer experience · Blocks work
Filtering M2M with two categories in an AND returns nothing
2 source threads · first seen 2021-05 · last seen 2023-12
Summary
Querying items tagged with two categories through an _and filter returns no results although each category alone works, in both the UI and GraphQL.
- Affects
- users with many-to-many categories
Evidence
Excerpts are copied word for word from the source; follow the link to read it in full.
“but adding a second category in the AND close doesn't return anything”
“the API is returning a 500 internal server error when I try to filter items based on a self-referencing m2m-relationship”