From 43e13867505086ba3423917c2c009d8f8d4bcd0a Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 5 Mar 2014 07:31:35 -0500 Subject: [PATCH] [PASSED QA] Bug 11634 [QA Followup 2] - Implement check for IsAvailableForItemLevelRequest Signed-off-by: Katrin Fischer --- C4/Circulation.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index f786a13..4547aa6 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2678,7 +2678,9 @@ sub CanBookBeRenewed { my @reservable; foreach my $b (@borrowernumbers) { foreach my $i (@itemnumbers) { - if ( CanItemBeReserved( $b, $i ) ) { + if ( IsAvailableForItemLevelRequest($i) + && CanItemBeReserved( $b, $i ) ) + { push( @reservable, $i ); } } -- 1.9.1