From 27b2b0bb95053e8a4a5a1a0e7eb3ba2f2c7f9dce Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 10 Aug 2018 10:36:53 -0400 Subject: [PATCH] Bug 15524: (QA follow-up) Respect ReservesControlBranch Signed-off-by: Nick Clemens --- C4/Reserves.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index a4a69bb32a..16ad20df77 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -413,7 +413,7 @@ sub CanItemBeReserved { my $schema = Koha::Database->new()->schema(); my $rule = $schema->resultset('BranchBorrowerCircRule')->find( { - branchcode => $borrower->{branchcode}, + branchcode => $branchcode, categorycode => $borrower->{categorycode}, } ); -- 2.39.5