From 586a6a89c2862eeabd86beb0f8ec28d941ef9906 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 27 Apr 2016 13:31:13 +0000 Subject: [PATCH] Bug 15534 [QA Followup] - Use IsItemOnHoldAndFound instead of GetReserveStatus Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall --- C4/Reserves.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 4823f5382f..58cfdbfaf8 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -1516,7 +1516,7 @@ sub IsAvailableForItemLevelRequest { || $i->{notforloan} > 0 || $i->withdrawn || $i->onloan - || GetReserveStatus( $i->id ) eq "Waiting" + || IsItemOnHoldAndFound( $i->id ) || ( $i->damaged && !C4::Context->preference('AllowHoldsOnDamagedItems') ) || Koha::ItemTypes->find( $i->effective_itemtype() )->notforloan; -- 2.39.5