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

(-)a/Koha/Item.pm (-1 / +1 lines)
Lines 1286-1291 sub to_api { Link Here
1286
    my $overrides = {};
1286
    my $overrides = {};
1287
1287
1288
    $overrides->{effective_item_type_id} = $self->effective_itemtype;
1288
    $overrides->{effective_item_type_id} = $self->effective_itemtype;
1289
    $overrides->{effective_not_for_loan_status} = $self->notforloan ? $self->notforloan : $self->itemtype->notforloan;
1289
1290
1290
    return { %$response, %$overrides };
1291
    return { %$response, %$overrides };
1291
}
1292
}
1292
- 

Return to bug 31128