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

(-)a/C4/SIP/ILS/Item.pm (-14 lines)
Lines 403-421 sub barcode_is_borrowernumber { # because hold_queue only has borrowernumber. Link Here
403
    return unless $converted;
403
    return unless $converted;
404
    return ($number == $converted);
404
    return ($number == $converted);
405
}
405
}
406
# FIXME: This methods is very likely not used. It's only reference in the codebase
407
#        is itself. I'm 'fixing' it so we can remove ModReserveFill. But filing a bug
408
#        for properly removing it.
409
sub fill_reserve {
410
    my $self = shift;
411
    my $hold = shift or return;
412
    foreach (qw(biblionumber borrowernumber reservedate)) {
413
        $hold->{$_} or return;
414
    }
415
416
    my $hold_obj = Koha::Holds->find( $hold->id );
417
    return $hold_obj->fill;
418
}
419
406
420
=head2 build_additional_item_fields_string
407
=head2 build_additional_item_fields_string
421
408
422
- 

Return to bug 29874