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

Upgrade Datatables #3738

Merged
merged 6 commits into from
Dec 10, 2024
Merged

Upgrade Datatables #3738

merged 6 commits into from
Dec 10, 2024

Conversation

chrisvanrun
Copy link
Contributor

The last update to Datatables was from a release that was from 24th September, 2021. Since I had my hands in the Datatables last week I thought now would be a good time to bump the version.

The latest (2.1.8) has jquery as a hard dependency, so no need to explicitly select that any more.

It was nearly a perfect drop-in replacement, with the exception of:

  • The ajax.url does not default to the current HREF when set to "". Rather "." does.
  • Sorting now has three stages (was two: asc/desc). The addition is a neutral sorting, which excludes the order[...] XML arguments in the xhr request. Instead, I've made it so that the data ordering falls back to the default found on the implementing class. Imho that is superior to random ordering.

@chrisvanrun chrisvanrun marked this pull request as ready for review December 9, 2024 13:19
@jmsmkn jmsmkn merged commit 0d10347 into main Dec 10, 2024
8 checks passed
@jmsmkn jmsmkn deleted the upgrade-datatables branch December 10, 2024 08:42
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 this pull request may close these issues.

2 participants