From 3ee13299fa8423f4ab201b086a3014f7575d9e80 Mon Sep 17 00:00:00 2001 From: Jonathan Druart 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 --- 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