Skip to content

Using lang parameter with multiple languages not working #138

@HPiirainen

Description

@HPiirainen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PolylangIssues related to PolylangbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions