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

Facet by Meta AND Taxonomy: The any/or operator #2970

Closed
felipeelia opened this issue Aug 29, 2022 · 0 comments · Fixed by #3045
Closed

Facet by Meta AND Taxonomy: The any/or operator #2970

felipeelia opened this issue Aug 29, 2022 · 0 comments · Fixed by #3045
Assignees
Labels
enhancement module:facets Issues related to the Facets functionality
Milestone

Comments

@felipeelia
Copy link
Member

Is your enhancement related to a problem? Please describe.

Currently, setting any as the operator in the Facets Feature will not work properly when creating a meta facet AND a taxonomy facet. That happens because each one will set an operator => or in their *_query clause but it won't check a post for a post that has a term OR a meta field

Describe the solution you'd like
Ideally, after working on #2969, we would be able to get all the query parts and join them properly, wrapping those two clauses in a should, instead of a must.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement module:facets Issues related to the Facets functionality
Projects
None yet
1 participant