Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Non latin letters are not accepted in a search filter #12708

Closed
boo-code opened this issue Apr 12, 2022 · 2 comments
Closed

Non latin letters are not accepted in a search filter #12708

boo-code opened this issue Apr 12, 2022 · 2 comments

Comments

@boo-code
Copy link

Describe the Bug

Non Latin letters in the search filter do not work. No results are returned.

image

To Reproduce

  1. Add a record with ą,č,ę,ė,į,š,ų,ū,ž or any other non-Latin letter.
  2. Use a search field filter in the collection view to find the record with such a letter.

Errors Shown

No response

What version of Directus are you using?

9.8.0

What version of Node.js are you using?

16.14.2

What database are you using?

Postgres 14

What browser are you using?

Any

How are you deploying Directus?

Docker

@azrikahar
Copy link
Contributor

I can't seem to reproduce this on my end, and I've tested both SQLite and Postgres as well:

chrome_l1KQyphpZj.mp4

Would you be able to test this with another database? just so we can be sure whether this only happen to this database specifically as I'm not sure how to best replicate this issue locally.

@boo-code
Copy link
Author

Sorry, my fault. It's not the letters itself. The filter is case-sensitive. I had a word starting with Š and entered š in a filter. Then I got no results returned. So, actual problem is that the search field is case-insensitive, and the filter is case-sensitive. It creates confusion.

This issue should be changed to "case-sensitive filter confusion".

More letters for you to test case-sensitivity: Ą,Č,Ę,Ė,Į,Š,Ų,Ū,Ž.

@directus directus locked and limited conversation to collaborators Apr 13, 2022
@azrikahar azrikahar converted this issue into discussion #12724 Apr 13, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants