Skip to content

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

@GlitterHorn

Description

@GlitterHorn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions