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

(-)a/circ/returns.pl (-2 / +1 lines)
Lines 172-178 if ( $query->param('reserve_id') && $op eq 'cud-affect_reserve') { Link Here
172
172
173
        my $hold = Koha::Holds->find($reserve_id);
173
        my $hold = Koha::Holds->find($reserve_id);
174
        if ($diffBranchSend) {
174
        if ($diffBranchSend) {
175
            my $tobranch = Koha::Libraries->find( $hold->branchcode );
175
            my $tobranch = $hold->pickup_library();
176
176
177
            # Add transfer, enqueue if one is already in the queue, and immediately set to in transit
177
            # Add transfer, enqueue if one is already in the queue, and immediately set to in transit
178
            my $transfer = $item->request_transfer( { to => $tobranch, reason => 'Reserve', enqueue => 1 } );
178
            my $transfer = $item->request_transfer( { to => $tobranch, reason => 'Reserve', enqueue => 1 } );
179
- 

Return to bug 35721