Skip to content

Rest filter problems with undefined model entries. #1573

Description

@cleaner321

I'm working on a project and try to write a search mask for emails.
I was a little confused while I was testing it, because of the output from the rest filter option:

That's right:
/api/companies?where[or][0][mail][like]=a --> returns all items with a 'a' in it

That's acceptable:
/api/companies?where[or][0][mail][like]=undefined --> returnes all, items without a defined mail

Confused by this:
/api/companies?where[or][0][mail][like]=u --> returnes all, items without a defined mail
/api/companies?where[or][0][mail][like]=.de --> returnes all, items without a defined mail

Can you help me please to make it possible to search for email endings (.de)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions