Bugzilla – Attachment 177730 Details for
Bug 39080
Holds to Pull table headers incorrect size on scroll
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39080: Adjust the fixed header after we added the column filters
Bug-39080-Adjust-the-fixed-header-after-we-added-t.patch (text/plain), 1.19 KB, created by
Jonathan Druart
on 2025-02-11 13:06:47 UTC
(
hide
)
Description:
Bug 39080: Adjust the fixed header after we added the column filters
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-02-11 13:06:47 UTC
Size:
1.19 KB
patch
obsolete
>From 1e304f9bb70393a4aeba2166aca8e24e22b74124 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 11 Feb 2025 10:25:50 +0100 >Subject: [PATCH] Bug 39080: Adjust the fixed header after we added the column > filters > >If a column contains a dropdown list (for libraries for instance), the >width of the column will be modified, but DT's fixed header need to be >adjusted. > >Test plan: >One example where this problem can be observed is the "holds to pull" >table: "Title" is followed by "Libraries". >Test without and with the patch, and confirm that the display/offset is fixed. >--- > koha-tmpl/intranet-tmpl/prog/js/datatables.js | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/datatables.js b/koha-tmpl/intranet-tmpl/prog/js/datatables.js >index 084cb8c82c8..ad42ff5a920 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/datatables.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/datatables.js >@@ -872,6 +872,7 @@ function _dt_add_filters(table_node, table_dt, filters_options = {}) { > } > } ); > _dt_add_delay_filters(table_dt, table_node); >+ table_dt.fixedHeader.adjust(); > } > > function _dt_add_delay(table_dt, table_node) { >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39080
:
177707
|
177726
| 177730