From cf8a03db2cf3bdcfbad8566377f54fd84face864 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 14 Nov 2018 19:08:09 +0000 Subject: [PATCH] Bug 21837: Don't set holdingbranch filter using selected homebranch filter To recreate: 1 - Open the overdues report (don't worry if you don't have results) 2 - Choose to filter by homebranch 3 - Note the holdingbranch filter is set to the selected homebranch 4 - Apply patch 5 - Clear filters 6 - repeat 7 - only homebranch is set Signed-off-by: Owen Leonard Signed-off-by: Marcel de Rooy Signed-off-by: Nick Clemens (cherry picked from commit 81ac96abec1226b6635022c0a3f69697d13c7d62) Signed-off-by: Jesse Maseto --- circ/overdue.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/overdue.pl b/circ/overdue.pl index e60d3ccc8d..635de46c5b 100755 --- a/circ/overdue.pl +++ b/circ/overdue.pl @@ -183,7 +183,7 @@ $template->param( patron_attr_header_loop => [ map { { header => $_->{description} } } grep { ! $_->{isclone} } @patron_attr_filter_loop ], branchfilter => $branchfilter, homebranchfilter => $homebranchfilter, - holdingbranchfilter => $homebranchfilter, + holdingbranchfilter => $holdingbranchfilter, borcatloop=> \@borcatloop, itemtypeloop => \@itemtypeloop, patron_attr_filter_loop => \@patron_attr_filter_loop, -- 2.39.5