pigallery2
pigallery2 copied to clipboard
Search doesn't handle diacritics correctly
Describe the bug
When using search, normally it doesn't matter if you're using capitalized or non capitalized letters. However, when searching for items names with diacritics, the result isn't shown if the capitalization isn't matching (e.g. given the folder name "Krikštynos", searching for "KRIKš" works, but searching for "KRIKŠ" doesn't). It would also be best if search would return item names with diacritics even when searching using Latin letters, for example searching for "simtadienis" should still return the folder "Šimtadienis".
Screenshots
Environment:
- OS: Docker Linux
- Browser: Brave on Linux
Used app version:
- docker-edge
I will take a look but that feels to be an SQL related issue
-- Sorry for being brief, sent from my phone.
On Sat, 30 Sept 2023, 15:24 krifpvlic, @.***> wrote:
Describe the bug
When using search, normally it doesn't matter if you're using capitalized or non capitalized letters. However, when searching for items names with diacritics, the result isn't shown if the capitalization isn't matching (e.g. given the folder name "Krikštynos", searching for "KRIKš" works, but searching for "KRIKŠ" doesn't). It would also be best if search would return item names with diacritics even when searching using Latin letters, for example searching for "simtadienis" should still return the folder "Šimtadienis".
Screenshots
[image: image] https://user-images.githubusercontent.com/118261998/271778052-e5954131-9a44-4980-a194-e98b5ef60ef7.png [image: image] https://user-images.githubusercontent.com/118261998/271778063-84eb9b71-4273-48e0-a36c-9c95eeb04ba1.png
Environment:
- OS: Docker Linux
- Browser: Brave on Linux
Used app version:
- docker-edge
— Reply to this email directly, view it on GitHub https://github.com/bpatrik/pigallery2/issues/729, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZKA5V2KX777XY6TPOOORTX5ATS3ANCNFSM6AAAAAA5NS6WJM . You are receiving this because you are subscribed to this thread.Message ID: @.***>