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

(-)a/C4/Reserves.pm (-1 / +1 lines)
Lines 1020-1026 sub ModReserveFill { Link Here
1020
        }
1020
        }
1021
    );
1021
    );
1022
1022
1023
    # FIXME Must call Koha::Hold->cancel ?
1023
    # FIXME Must call Koha::Hold->cancel ? => No, should call ->filled and add the correct log
1024
    Koha::Old::Hold->new( $hold->unblessed() )->store();
1024
    Koha::Old::Hold->new( $hold->unblessed() )->store();
1025
1025
1026
    $hold->delete();
1026
    $hold->delete();
(-)a/Koha/Hold.pm (-2 / +1 lines)
Lines 316-322 sub cancel { Link Here
316
            $self->cancellationdate(dt_from_string);
316
            $self->cancellationdate(dt_from_string);
317
            $self->priority(0);
317
            $self->priority(0);
318
            $self->_move_to_old;
318
            $self->_move_to_old;
319
            $self->delete;
319
            $self->SUPER::delete(); # Do not add a DELETE log
320
320
321
            # now fix the priority on the others....
321
            # now fix the priority on the others....
322
            C4::Reserves::_FixPriority({ biblionumber => $self->biblionumber });
322
            C4::Reserves::_FixPriority({ biblionumber => $self->biblionumber });
323
- 

Return to bug 19059