-
Notifications
You must be signed in to change notification settings - Fork 2k
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
datatables_view not search if value contains latvian characters #8027
Comments
Thank you @gatiszeiris would you check if the same thing happens when using the api, e.g.
|
There is result of ckanapi --config="/etc/ckan/default/ckan.ini" action datastore_search resource_id=5f2e918d-5497-47b1-80f8-8201800ef542 q="Datu Sistēm" { |
I don't know much about this part of the code, but there is this undocumented config option which might be relevant, and I see that ckan/ckanext/datastore/backend/postgres.py Line 570 in 121443c
|
There's a ckan/ckanext/datastore/set_permissions.sql Lines 76 to 89 in 121443c
|
CKAN version 2.10.1
Describe the bug
A clear and concise description of what the bug is.
![image](https://private-user-images.githubusercontent.com/26183160/299574798-9dac9ab0-e9d8-4394-a6f8-5c9f5b2c3503.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgyODAyMDMsIm5iZiI6MTcxODI3OTkwMywicGF0aCI6Ii8yNjE4MzE2MC8yOTk1NzQ3OTgtOWRhYzlhYjAtZTlkOC00Mzk0LWE2ZjgtNWM5ZjViMmMzNTAzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEzVDExNTgyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVkZmNjOGU4ZjEyMTdlMWY0YTBlOTJlNzQ3MTgwZDk4ZGRjZjk5ZTNlNzY4MDVjMjQ3OTk1MmViODVkNDJiZGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ClyZUZO-xl6aUaLTd9LVfxsXU-Dy5fGjVRiqCOuFBHQ)
Search return results with search value: "datu sis"
Search return results with search value: "datu sistēm"
![image](https://private-user-images.githubusercontent.com/26183160/299575488-506871ea-0d0d-48f3-a61f-c496f3abba18.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgyODAyMDMsIm5iZiI6MTcxODI3OTkwMywicGF0aCI6Ii8yNjE4MzE2MC8yOTk1NzU0ODgtNTA2ODcxZWEtMGQwZC00OGYzLWE2MWYtYzQ5NmYzYWJiYTE4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEzVDExNTgyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUwZDUzYzA3Nzg2NDRkODU1YmNlZDBkYWEzYjhkMzhjMTAzNjMzNDNlOTc5MDk1ZDU1NjNmZWQ0YmI4ZGUyZmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.6KxmHnyfVchSOSnicokYS9D5lGnkPJzCQiMeVL6Atxc)
Steps to reproduce
Steps to reproduce the behavior:
name, number
"Datu Sistēmas ","4003232323"
Expected behavior
When search text including latvian caracters like ē, ā, ž, ī, ņ etc. search works and return results.
The text was updated successfully, but these errors were encountered: