Problem/Motivation

According to https://datatables.net/, the DataTables library is currently 2.3.8. In the module used 1.10. To keep using it, we need to update it.

Steps to reproduce

See the README.txt file or look at the official page on https://www.drupal.org/project/datatables.

Proposed resolution

Update version to 2.x.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

Issue fork datatables-3589761

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

just-me created an issue. See original summary.

just-me’s picture

Assigned: Unassigned » just-me

just-me’s picture

I've updated the datatables.js logic with no jQuery. Please review it.
Updated the libraries to connect to the new DataTables 2.3.8 version.

The new version of DataTables is here.
My installer-paths from the composer.json are:
"installer-paths": {
"web/core": ["type:drupal-core"],
"web/libraries/datatables": ["npm-asset/datatables.net"],
...
}

just-me’s picture

Assigned: just-me » Unassigned
quadrexdev’s picture

Status: Active » Needs review
just-me’s picture

Title: Updating the Datatables library to 2.x » Updating the Datatables library to 2.x (from jQuery to Vanila JS)
just-me’s picture

Updated according to the PR suggestions.

  • just-me committed cc709f81 on 2.x
    fix: #3589761 Installed library of the Datatables and set up libraries....
just-me’s picture

Status: Needs review » Fixed

Merged to 2.x, thanks to everyone.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • just-me committed 104c3fcc on 2.x
    fix: #3589761 Installed library of the Datatables and set up libraries....

  • just-me committed 98678f46 on 2.x
    fix: #3589761 Installed library of the Datatables and set up libraries....