Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

where filter doesn't work on page {} #57

Closed
pangeaos opened this issue Aug 5, 2021 · 1 comment
Closed

where filter doesn't work on page {} #57

pangeaos opened this issue Aug 5, 2021 · 1 comment

Comments

@pangeaos
Copy link

pangeaos commented Aug 5, 2021

I'm trying to get a page by URI and language but it's ignoring the /es/ and I only get the english content.

Instead of getting the Spanish content using translation { ... } node, Is there any way to filter the page and get only spanish?

Like this: page(id: "/es/page", idType: URI, where: {language: ES}) { ... }

Screen Shot 2021-08-05 at 14 11 07

@esamattis
Copy link
Member

Duplicate of #46

There's also a filter based workaround you could try: #46 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants