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

Searching posts not working when specific taxonomy not set #3

Open
quickdry opened this issue Mar 26, 2020 · 0 comments
Open

Searching posts not working when specific taxonomy not set #3

quickdry opened this issue Mar 26, 2020 · 0 comments

Comments

@quickdry
Copy link

this will use the "Tag" taxonomy as the example

If the tag dropdown is set to a specific Tag, and search is done via free entry text, the get post query works as expected, and finds all posts with "Tag" and searched for text.

If the Tag dropdown is set to "All Tags" and search is done via free entry text, the get post query has a (0=1) inserted in the where clause where the taxonomy type would be (if this (0=1) is removed from the query, the query proceeds properly.)

(Categories work normally when set to "All categories", but from what I could understand in the code, these are unmodified from standard behaviour)

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

No branches or pull requests

1 participant