View | Details | Raw Unified | Return to bug 40771
Collapse All | Expand All

(-)a/circ/returns.pl (-2 / +3 lines)
Lines 610-616 if ( $messages->{'ResFound'} ) { Link Here
610
            my $tobranch = Koha::Libraries->find( $reserve->{branchcode} );
610
            my $tobranch = Koha::Libraries->find( $reserve->{branchcode} );
611
611
612
            # Add transfer, enqueue if one is already in the queue, and immediately set to in transit
612
            # Add transfer, enqueue if one is already in the queue, and immediately set to in transit
613
            my $transfer = $item->request_transfer( { to => $tobranch, reason => 'Reserve', enqueue => 1 } );
613
            # we have to ignore limits here so the reserve can get where it belongs if it ended up here wrongly
614
            my $transfer =
615
                $item->request_transfer( { to => $tobranch, reason => 'Reserve', enqueue => 1, ignore_limits => 1 } );
614
            $transfer->transit;
616
            $transfer->transit;
615
        }
617
        }
616
618
617
- 

Return to bug 40771