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

[datatables] ignores collation setting for numerical sorting #750

Closed
krabina opened this issue Nov 24, 2022 · 0 comments · Fixed by #730
Closed

[datatables] ignores collation setting for numerical sorting #750

krabina opened this issue Nov 24, 2022 · 0 comments · Fixed by #730

Comments

@krabina
Copy link
Contributor

krabina commented Nov 24, 2022

Setup

Product Version
MediaWiki 1.35.8
PHP 7.4.3 (fpm-fcgi)
MariaDB 10.3.34-MariaDB-0ubuntu0.20.04.1
ICU 66.1
Elasticsearch 6.8.23
Semantic MediaWiki 4.0.2
Semantic Result Formats 4.0.1 (dc64c23) 14:27, 11 November 2022

Issue

When you change the entity collation in MediaWiki and SMW to "numeric", the categories sort pages named
1 - Lorem ipsum...
2 - Lorem ipsum...
11 - Lorem ipsum...
correctly. With the default, they would sort
1 - Lorem ipsum...
11 - Lorem ipsum...
2 - Lorem ipsum...

However, the datatables format is not agnostic of this. While regular result formats like list, table etc. now sort correctly (after you have run the update scripts), the datatables format is still not showing the correct natural numbering order.

There are several other sorting issues with datatables, e. g. #571, #211, #107 and #2427

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

Successfully merging a pull request may close this issue.

1 participant