Bugzilla – Attachment 190072 Details for
Bug 41341
Some filters do not use the exact match in detail.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41341: Do not search the description if filter is selected in the header
6d5edbb.patch (text/plain), 1.38 KB, created by
Jonathan Druart
on 2025-12-02 10:50:18 UTC
(
hide
)
Description:
Bug 41341: Do not search the description if filter is selected in the header
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-12-02 10:50:18 UTC
Size:
1.38 KB
patch
obsolete
>From 6d5edbb94b72794511095938a5aa1327f0ef6cd1 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 2 Dec 2025 11:48:29 +0100 >Subject: [PATCH] Bug 41341: Do not search the description if filter is > selected in the header > >For coded values we have a dropdown list with the list of the possible >options, we should not search on the description > >Test plan: >If you have >CPL => Centerville >C => CCC > >No items should be listed on catalogue/detail.pl?biblionumber=4 if you select Current library => 'CCC' >--- > 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 2a958ef20c3..9d20473583e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/datatables.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/datatables.js >@@ -550,7 +550,7 @@ function _dt_default_ajax(params) { > coded_datatype && > coded_datatype.length > 1 > ) { >- if (global_search.length || value.length) { >+ if (global_search.length) { > coded_datatype = coded_datatype[1]; > const search_value = value.length > ? value >-- >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 41341
:
190057
| 190072