Bugzilla – Attachment 184600 Details for
Bug 40321
DataTables search ( dt-search ) does not work on holds history page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40321: Fix hold history search
Bug-40321-Fix-hold-history-search.patch (text/plain), 1.43 KB, created by
Lucas Gass (lukeg)
on 2025-07-24 17:51:37 UTC
(
hide
)
Description:
Bug 40321: Fix hold history search
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-07-24 17:51:37 UTC
Size:
1.43 KB
patch
obsolete
>From 3ee13299fa8423f4ab201b086a3014f7575d9e80 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 24 Jul 2025 12:08:34 +0200 >Subject: [PATCH] Bug 40321: Fix hold history search > >The table global search didn't combine correctly with the status filters. > >Test plan: >1. Have a patron with holds history >2. Go to members/holdshistory.pl?borrowernumber=x where x is the borrowernumber >3. Try to us the DT seacch to filter >=> Filtering is working as expected > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt >index 602338097bc..caa115846cf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt >@@ -169,7 +169,7 @@ > let old_holds_table = build_holds_table("#table_oldholdshistory", 1); > function build_holds_table(table_id, old){ > let additional_filters = { >- "-or": function(){ >+ "-and": function(){ > let statuses = []; > let include_cancelled = false; > if ( table_id == '#table_holdshistory' ) { >-- >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 40321
:
184583
| 184600