@@ -, +, @@ - transferbook: no need to add lookahead; a future hold should not block a transfer; - CanBookBeIssued: no lookahead; future hold does not block an issue; - CanBookBeRenewed: idem. - GetOtherReserves (only used in circ/returns): this call might be a candidate for lookahead too, but I leave that for another report. It is in the context of checkin and transfer, not checkout. AllowHoldDateInFuture.) with borrower B on X for today. (Use biblio level holds.) and do not cancel the hold of B (so: confirm checkout). Verify that X has still two holds. X now only has one hold for borrower B (the hold for A was filled). --- C4/Reserves.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/C4/Reserves.pm +++ a/C4/Reserves.pm @@ -2151,7 +2151,8 @@ If $cancelreserve boolean is set to true, it will remove existing reserve sub MoveReserve { my ( $itemnumber, $borrowernumber, $cancelreserve ) = @_; - my ( $restype, $res, $all_reserves ) = CheckReserves( $itemnumber ); + my $lookahead= C4::Context->preference('ConfirmFutureHolds'); #number of days to look for future holds + my ( $restype, $res, $all_reserves ) = CheckReserves( $itemnumber, undef, $lookahead ); return unless $res; my $biblionumber = $res->{biblionumber}; --