From a935e23d3d0d6e647fa05f75d9808fa43b7d0fcd Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 5 Mar 2014 07:31:35 -0500 Subject: [PATCH] Bug 11634 [QA Followup 2] - Implement check for IsAvailableForItemLevelRequest Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- C4/Circulation.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 1c182930e9..e2bddf24db 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2682,7 +2682,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 ); } } -- 2.39.5