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

Bug: Filter search criteria does not match insensitive cases #391

Open
wallace-sf opened this issue Nov 10, 2023 · 3 comments
Open

Bug: Filter search criteria does not match insensitive cases #391

wallace-sf opened this issue Nov 10, 2023 · 3 comments

Comments

@wallace-sf
Copy link

Versions

  • Node: v18.16.0
  • OS: Ubuntu 20.0.4 LTS

Reproduction

Additional Details

Steps to reproduce

An arbitrary insensitive case is a valid test.

What is Expected?

The criteria should be able to match case insensitivity. For example: Super should match super, but this use case is not working. Perhaps the iLike operator can be used

What is actually happening?

The rows is not being matched.

@tada5hi
Copy link
Owner

tada5hi commented Nov 30, 2023

hey, unfortunately the issue passed me by.
I think you are talking about direct use in the context of the typeorm extension?
Have you tried specifying ~ before the filter value?
So for example:

?filter[name]=~value

@wallace-sf
Copy link
Author

hey, unfortunately the issue passed me by. I think you are talking about direct use in the context of the typeorm extension? Have you tried specifying ~ before the filter value? So for example:

?filter[name]=~value

Hey dude. I did several use case tests and it didn't seem to work.

@wallace-sf
Copy link
Author

@tada5hi I am going to make a pull request soon.

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

No branches or pull requests

2 participants