Bug 42003

Summary: Upgrade DataTables from 2.3.4 to 2.3.7 (and FixedHeader to 4.0.6)
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Architecture, internals, and plumbingAssignee: Jonathan Druart <jonathan.druart>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: andrew, david, dcook, Laura.escamilla
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
This enhancement upgrades the DataTables JavaScript library from version 2.3.4 to 2.3.7. This brings in upstream fixes and improvements released since 2.3.4, especially version 4.0.6 of the FixedHeader plugin, which fixes a scrolling glitch with sticky headers.
Version(s) released in:
Circulation function:
Bug Depends on: 40816    
Bug Blocks:    
Attachments: Bug 42003: DT - Update css and js files to 2.3.7
Bug 42003: Remove !important from css files
Bug 42003: DT - Update css and js files to 2.3.7
Bug 42003: Remove !important from css files

Description Jonathan Druart 2026-03-05 15:38:17 UTC

    
Comment 1 Jonathan Druart 2026-03-05 15:43:31 UTC
Created attachment 194520 [details] [review]
Bug 42003: DT - Update css and js files to 2.3.7

Patch from commit 217f4ca
Comment 2 Jonathan Druart 2026-03-05 15:43:32 UTC
Created attachment 194521 [details] [review]
Bug 42003: Remove !important from css files

Patch from commit cbc8a74
Comment 3 Jonathan Druart 2026-03-05 15:43:50 UTC
*** Bug 37024 has been marked as a duplicate of this bug. ***
Comment 4 Jonathan Druart 2026-03-05 15:44:48 UTC
Found a bug here in the filters: https://snipboard.io/p0ijCg.jpg
Comment 5 David Nind 2026-03-05 20:41:44 UTC
Created attachment 194558 [details] [review]
Bug 42003: DT - Update css and js files to 2.3.7

Signed-off-by: David Nind <david@davidnind.com>
Comment 6 David Nind 2026-03-05 20:41:49 UTC
Created attachment 194559 [details] [review]
Bug 42003: Remove !important from css files

Signed-off-by: David Nind <david@davidnind.com>
Comment 7 David Nind 2026-03-05 20:48:37 UTC
This certainly solves the scrolling bug in Chromium and Firefox for me.

I'm not sure how to replicate the filter bug, or what it is exactly.

Not sure what other things to test, should tests identify any issues?

Testing notes (using KTD):
1. Observe the scrolling bug, as described in bug 37024):
   - Administration > Basic parameters > Libraries
   - Administration > Patrons and circulation > Patron categories
   - Administration > Patrons and circulation > Circulation and fine rules
   - Administration > Cataloging > Marc bibliographic frameworks > [pick any framework, such as BKS] > MARC structure > [change show 20 entries, to show all entries]
2. Apply the patches.
3. Rebuild things: yarn build
4. Restart everything: restart_all
5. Clear your browser cache
6. Repeat step 1, no scrolling jittering when you scroll slowly down the page.