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] numeric sorting only working on purge when page cache is set #761

Closed
krabina opened this issue Feb 2, 2023 · 2 comments · Fixed by #762
Closed

[datatables] numeric sorting only working on purge when page cache is set #761

krabina opened this issue Feb 2, 2023 · 2 comments · Fixed by #762

Comments

@krabina
Copy link
Contributor

krabina commented Feb 2, 2023

Issue

when $wgCachePages is set to true and numeric sorting is set, Then the datatables sorting always ignores the collation setting (numeric) and datatables are sorted wrongly (in the default collation). When you click "purge page", the sorting is in order once, but on a page reload, the wrong sorting order is showing up.

Expected result:
Order of pages in datatables should always consider collation settings.

@krabina
Copy link
Contributor Author

krabina commented Feb 2, 2023

PR coming up soon :-)

@krabina
Copy link
Contributor Author

krabina commented Feb 2, 2023

Probably related to #571

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant