2
Filter _eq case insensitive
Source: directus/directus#25728 · opened by @rokdd
Summary
For a lot of filter rules exists case insensitive operators. Why it is not possible to have also _eq case insensitive?
Basic Example
Comparing Emailadresses or UUID are sometimes different formatted and makes filtering difficult when the data in directus is not always lower or uppercase
Motivation
It is very easy to implement and would help a lot, also when filtering in the UI
Detailed Design
Add the operator _ieq
Requirements List
Must Have:
• Add the operator _ieq
Drawbacks
Too many filter operators
Alternatives
Tried to workaround with _istarts_with which works for emailadress because it contains the domain when I put the term.
Adoption Strategy
No breaking changes
Unresolved Questions
_No response_
For a lot of filter rules exists case insensitive operators. Why it is not possible to have also _eq case insensitive?
Basic Example
Comparing Emailadresses or UUID are sometimes different formatted and makes filtering difficult when the data in directus is not always lower or uppercase
Motivation
It is very easy to implement and would help a lot, also when filtering in the UI
Detailed Design
Add the operator _ieq
Requirements List
Must Have:
• Add the operator _ieq
Drawbacks
Too many filter operators
Alternatives
Tried to workaround with _istarts_with which works for emailadress because it contains the domain when I put the term.
Adoption Strategy
No breaking changes
Unresolved Questions
_No response_
No pledges yet. Be the first to back this.
Comments
Similar requests
Alias the "root" of a o2m to the ID of the related collection
3 votes · 0 comments
Update count in notification badge
9 votes · 0 comments
Make `empty` and `nempty` work for Array types
1 vote · 0 comments
"_exists" operator or equivalent ability to detect in filter rules
1 vote · 0 comments
Implement case insensitive (and other) filters consistently
1 vote · 0 comments
No comments yet.