-
Notifications
You must be signed in to change notification settings - Fork 94
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
Alphabetical index is not in natural sort order #559
Comments
The sorting is done in the sparql query. Since the results are limited and then offset in the second query sorting the results afterwards isn't really an option. ORDER BY LCASE(IF(BOUND(?alabel), STR(?alabel), STR(?label))) I'm not sure what we should do here. After the results are completely loaded (after the second query) the sorting could be done in javascript but that doesn't fix the first set of results that have been limited. |
I asked about this on the Jena users' mailing list: http://jena.markmail.org/thread/v2bvsnsza5ksl2cv |
This turns out to be difficult. It would require changes to Jena so that it would sort language-specific collation. |
See discussion on Jena users list: http://markmail.org/message/v2bvsnsza5ksl2cv |
Opened a JIRA issue on the Jena side: https://issues.apache.org/jira/browse/JENA-1313 |
@osma can this one be closed too now? Or do we have to wait for the deployment and confirmation that it's working as expected? |
Seems to work very well now. Thanks! |
At which URL did you encounter the problem?
http://finto.fi/yso/fi/index/T
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Expected to get a natural sort order for the listing. I'm seeing š-character at the end of the list. For example: tšekin kieli comes after töyhtöhyyppä.
What browser did you use? (eg. Firefox, Chrome, Safari, Internet explorer)
Firefox
The text was updated successfully, but these errors were encountered: