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

filteror doesn't work with non-wildcard operators #230

Open
GlitterHorn opened this issue Jul 22, 2022 · 0 comments
Open

filteror doesn't work with non-wildcard operators #230

GlitterHorn opened this issue Jul 22, 2022 · 0 comments

Comments

@GlitterHorn
Copy link

I took a look at the source and can't figure out why it's not working as expected.

The filteror parameter doesn't work with non-wildcard operators. I want to be able to do something like:

---- datatable ----
cols:%pageid%,effect_tag,deity_tag,element_tag,planet_tag,energy_tag,gender_tag
filter : %pageid% *~ hibiscus
or : %pageid% = rose
or : %pageid% *~ chicory
----

With this filter, the page named rose doesn't appear in the results. If I use a second = operator, I get no results at all. The SQL generated seems to be using AND instead of OR with these operators.

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

1 participant