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

(-)a/Koha/Biblio.pm (-1 / +4 lines)
Lines 1294-1299 sub to_api { Link Here
1294
    my ($self, $args) = @_;
1294
    my ($self, $args) = @_;
1295
1295
1296
    my $response = $self->SUPER::to_api( $args );
1296
    my $response = $self->SUPER::to_api( $args );
1297
1298
    $args = defined $args ? {%$args} : {};
1299
    delete $args->{embed};
1300
1297
    my $biblioitem = $self->biblioitem->to_api( $args );
1301
    my $biblioitem = $self->biblioitem->to_api( $args );
1298
1302
1299
    return { %$response, %$biblioitem };
1303
    return { %$response, %$biblioitem };
1300
- 

Return to bug 32711