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

(-)a/Koha/Old/Hold.pm (-1 / +13 lines)
Lines 34-39 This object represents a hold that has been filled or canceled Link Here
34
34
35
=head2 Class methods
35
=head2 Class methods
36
36
37
=head3 biblio
38
39
Returns the related Koha::Biblio object for this old hold
40
41
=cut
42
43
sub biblio {
44
    my ($self) = @_;
45
    my $rs = $self->_result->biblionumber;
46
    return unless $rs;
47
    return Koha::Biblio->_new_from_dbic($rs);
48
}
49
37
=head3 anonymize
50
=head3 anonymize
38
51
39
    $old_hold->anonymize();
52
    $old_hold->anonymize();
40
- 

Return to bug 34609