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

Using lang parameter with multiple languages not working #138

Open
HPiirainen opened this issue Apr 8, 2024 · 0 comments
Open

Using lang parameter with multiple languages not working #138

HPiirainen opened this issue Apr 8, 2024 · 0 comments
Labels
bug Something isn't working Polylang Issues related to Polylang

Comments

@HPiirainen
Copy link
Contributor

When Polylang is active, if I manually add 'lang' => 'fi,en' to query params, RediPress duplicates the query:

(@taxonomy_slug_language:{'fi,en'}) ... (@taxonomy_slug_language:{'fi'|'en'})

Seems like it handles both the lang param and the subsequent tax query added by Polylang. Running that query with RediPress disabled works correctly.

This can be circumvented by not setting the lang param and adding the language(s) with tax_query, but would be great if the Polylang-native way would be supported out-of-the-box.

@HPiirainen HPiirainen added bug Something isn't working Polylang Issues related to Polylang labels Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Polylang Issues related to Polylang
Projects
None yet
Development

No branches or pull requests

1 participant