Bugzilla – Attachment 178054 Details for
Bug 39080
Table headers of holds to pull table are 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.24 KB, created by
David Nind
on 2025-02-13 21:51:37 UTC
(
hide
)
Description:
Bug 39080: Adjust the fixed header after we added the column filters
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-02-13 21:51:37 UTC
Size:
1.24 KB
patch
obsolete
>From f4200ffde906b37c26dd2cad70bf0b61d1ea837a 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. > >Signed-off-by: David Nind <david@davidnind.com> >--- > 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 65aea7733d..26092d5391 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/datatables.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/datatables.js >@@ -1056,6 +1056,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.39.5
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
|
178054
|
178078