Bug 38456

Summary: Custom properties no longer accepted by DataTables
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Staff interfaceAssignee: Jonathan Druart <jonathan.druart>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: gmcharlt
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 36640    
Bug Blocks:    

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 ***