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

(-)a/C4/Reserves.pm (-1 / +2 lines)
Lines 566-572 sub GetOtherReserves { Link Here
566
            C4::Items::ModItemTransfer(
566
            C4::Items::ModItemTransfer(
567
                $itemnumber,
567
                $itemnumber,
568
                $item->holdingbranch,
568
                $item->holdingbranch,
569
                $checkreserves->{'branchcode'}
569
                $checkreserves->{'branchcode'},
570
                'Reserve'
570
              ),
571
              ),
571
              ;
572
              ;
572
        }
573
        }
(-)a/circ/pendingreserves.pl (-1 / +1 lines)
Lines 102-108 if ( $op eq 'cancel_reserve' and $reserve_id ) { Link Here
102
        }
102
        }
103
        $hold->cancel;
103
        $hold->cancel;
104
        if ( $item->homebranch ne $item->holdingbranch ) {
104
        if ( $item->homebranch ne $item->holdingbranch ) {
105
            C4::Items::ModItemTransfer( $item->itemnumber, $item->holdingbranch, $item->homebranch );
105
            C4::Items::ModItemTransfer( $item->itemnumber, $item->holdingbranch, $item->homebranch, 'LostReserve' );
106
        }
106
        }
107
107
108
        if ( my $yaml = C4::Context->preference('UpdateItemWhenLostFromHoldList') ) {
108
        if ( my $yaml = C4::Context->preference('UpdateItemWhenLostFromHoldList') ) {
(-)a/circ/waitingreserves.pl (-2 / +1 lines)
Lines 144-150 sub cancel { Link Here
144
144
145
# 	if the document is not in his homebranch location and there is not reservation after, we transfer it
145
# 	if the document is not in his homebranch location and there is not reservation after, we transfer it
146
    if ($transfer && !$nextreservinfo) {
146
    if ($transfer && !$nextreservinfo) {
147
        ModItemTransfer( $item, $fbr, $tbr );
147
        ModItemTransfer( $item, $fbr, $tbr, 'CancelReserve' );
148
    }
148
    }
149
    # if we have a result
149
    # if we have a result
150
    if ($nextreservinfo) {
150
    if ($nextreservinfo) {
151
- 

Return to bug 24436