Bug 38456 - Custom properties no longer accepted by DataTables
Summary: Custom properties no longer accepted by DataTables
Status: RESOLVED DUPLICATE of bug 38436
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low major
Assignee: Jonathan Druart
QA Contact: Testopia
URL:
Keywords:
Depends on: 36640
Blocks:
  Show dependency treegraph
 
Reported: 2024-11-15 14:08 UTC by Jonathan Druart
Modified: 2024-11-15 15:17 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2024-11-15 14:08:59 UTC
We were passing bKohaColumnsUseNames and loaded_from_state to DT's constructor, which are custom properties.

With the upgrade to DataTables 2 this behaviour is no longer working. Custom properties cannot be retrieved using DT's api.
Comment 1 Jonathan Druart 2024-11-15 15:17:32 UTC
Moved to 
Bug 38436: Store loaded_from_state in data instead of DT's settings
Bug 38436: Store bKohaColumnsUseNames in data instead of DT's settings

I didn't manage to provide an isolated patch.

*** This bug has been marked as a duplicate of bug 38436 ***