We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Filter entries by multiple taxonomies via GraphQL

Dominik Radl August 21, 2021 by Dominik Radl

Hi,

I try to filter entries by multiple taxonomy terms (entry has tag A or tag B). The conditions docs say taxonomy:tags="review|colorful" should work. But translated to a graphql filter it returns all entries.

{
entries(
    filter: { taxonomy: {tags: "a|b"} },
    sort: "date desc",
    limit: 10
  ) {
    total
  }
}

Can anyone tell me how the correct taxonomy filter would look like?

Thank you

>>>>>>> Unanswered <<<<<<<
0 Replies
1 Follower