Bugzilla – Attachment 116005 Details for
Bug 27403
Enable fixedHeader for Datatables
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27403: Possible item search fix
Bug-27403-Possible-item-search-fix.patch (text/plain), 1.44 KB, created by
Lucas Gass (lukeg)
on 2021-01-29 00:41:09 UTC
(
hide
)
Description:
Bug 27403: Possible item search fix
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2021-01-29 00:41:09 UTC
Size:
1.44 KB
patch
obsolete
>From 3ed38e6a21c55d9342d05df053a73b7a06f1a74e Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 29 Jan 2021 00:37:48 +0000 >Subject: [PATCH] Bug 27403: Possible item search fix > >1. Submit an item search that will return multiple results. >2. After the results have loaded, click the "Edit search" button. >3. As you scroll down, the toolbar sticks to the top of the browser window but then the table header jumps into view before the table of results has scrolled into view. >4. Apply this patch and try again, the table header should not act weird. >5. Make sure all the dataTable controls still work >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >index 919fad3188..42292e88c3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >@@ -331,6 +331,10 @@ > .on('click', function(e) { > e.preventDefault(); > $('#item-search-block').show(); >+ $('#results').DataTable().destroy(); >+ $('#results').DataTable( { >+ fixedHeader: true >+ }); > }); > > function getCheckedItemnumbers () { >-- >2.11.0
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 27403
:
115055
|
115098
|
115314
|
115323
|
115324
|
115333
|
116004
|
116005
|
116524
|
116525
|
116526
|
128685