Bugzilla – Attachment 180265 Details for
Bug 39011
Unable to search the holdings table (except home/holding libraries and barcode)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39011: Apply the pre-process to column filters
Bug-39011-Apply-the-pre-process-to-column-filters.patch (text/plain), 1.53 KB, created by
Martin Renvoize (ashimema)
on 2025-04-02 08:56:30 UTC
(
hide
)
Description:
Bug 39011: Apply the pre-process to column filters
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-04-02 08:56:30 UTC
Size:
1.53 KB
patch
obsolete
>From 80410513f9ae33210dc008a25de867db3e613f5c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 11 Feb 2025 10:07:40 +0100 >Subject: [PATCH] Bug 39011: Apply the pre-process to column filters > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> >--- > koha-tmpl/intranet-tmpl/prog/js/datatables.js | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/datatables.js b/koha-tmpl/intranet-tmpl/prog/js/datatables.js >index 4e3b4f70f90..414cf4bbb00 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/datatables.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/datatables.js >@@ -576,10 +576,13 @@ function _dt_default_ajax(params) { > coded_datatype && > coded_datatype.length > 1 > ) { >- if (global_search.length) { >+ if (global_search.length || value.length) { > coded_datatype = coded_datatype[1]; >+ const search_value = value.length >+ ? value >+ : global_search; > const regex = new RegExp( >- `^${global_search}`, >+ `^${search_value}`, > "i" > ); > if ( >-- >2.49.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 39011
:
177465
|
177553
|
177556
|
177620
|
177702
|
177725
|
178033
|
178034
|
178118
|
178119
|
180264
| 180265 |
180266
|
180267
|
182175