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

Feature request : case sensitivity and accents sensitivity for string filters. #37

Open
LouLeGrain opened this issue Mar 7, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@LouLeGrain
Copy link

First of all, thanks a lot for this project, it's really helpful for implementing lazy loading with Prime NG tables.

1. Case sensitivity

I'm trying on my side to implement a boolean parameter, to determine if we want the string filters to be case sensitive or not, but i'm having some difficulties to fully understand the logic of this nice piece of software.

As for now it is case sensitive by default.

Of course the default solution would be to convert both the filter value and the compared values to uppercase (or to lower, does it matter ?)

2. Accent sensitivity

I'd like to have accent insensitive compare too, it could be determined by a boolean parameter as well.

(eg: café == cafe)

Here's a list of some of the most common accented characters that need to be handled

@Kusumoto Kusumoto added the enhancement New feature or request label Mar 11, 2023
@wjens
Copy link

wjens commented Dec 14, 2023

I too would like case insensitive searches. I can't find where to apply the ToLower() to the content being searched on. I don't want to convert the values before searching because the data sent back should preserve case - just ignore it for the search.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants