Bugzilla – Attachment 194621 Details for
Bug 40816
Upgrade DataTables from 2.1.8 to 2.3.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40816: (follow-up) change DataTables search descriptions to use text rather than HTML
958c51d.patch (text/plain), 1.14 KB, created by
Jonathan Druart
on 2026-03-06 08:51:22 UTC
(
hide
)
Description:
Bug 40816: (follow-up) change DataTables search descriptions to use text rather than HTML
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-03-06 08:51:22 UTC
Size:
1.14 KB
patch
obsolete
>From 958c51d4a620a03e79b407a8db95d2dcc166d5c1 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Fri, 6 Mar 2026 05:33:41 +0000 >Subject: [PATCH] Bug 40816: (follow-up) change DataTables search descriptions > to use text rather than HTML > >We shouldn't really be picking the HTML from the header >when all we really need is the text content of the header cell. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/js/datatables.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/datatables.js b/koha-tmpl/intranet-tmpl/prog/js/datatables.js >index 7b6dde8a7c6..208ab436e3c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/datatables.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/datatables.js >@@ -1362,7 +1362,7 @@ function update_search_description( > > column_searches.push( > "%s=%s".format( >- table_dt.column(i).header().innerHTML, >+ table_dt.column(i).header().textContent, > search > ) > ); >-- >2.43.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 40816
:
186448
|
186449
|
186450
|
186451
|
188979
|
188991
|
188992
|
188993
|
188994
|
189599
|
189600
|
189601
|
189605
|
189606
|
190614
|
190615
|
190937
|
190938
|
193272
|
193273
|
193274
|
193275
|
193276
|
193277
|
193278
|
193279
|
193280
|
193281
|
193282
|
193283
|
194613
|
194614
| 194621