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)
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)