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

(-)a/Koha/Item.pm (-2 / +3 lines)
Lines 2066-2072 Returns the effective bookability of the current item, be that item or itemtype Link Here
2066
sub effective_bookable {
2066
sub effective_bookable {
2067
    my ($self) = @_;
2067
    my ($self) = @_;
2068
2068
2069
    return $self->bookable // $self->itemtype->bookable;
2069
    return $self->bookable if defined $self->bookable;
2070
    return $self->itemtype->bookable if $self->itemtype;
2071
    return 0;
2070
}
2072
}
2071
2073
2072
=head3 orders
2074
=head3 orders
2073
- 

Return to bug 41510