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

(-)a/Koha/Biblio.pm (-1 / +4 lines)
Lines 1248-1253 sub to_api { Link Here
1248
    my ($self, $args) = @_;
1248
    my ($self, $args) = @_;
1249
1249
1250
    my $response = $self->SUPER::to_api( $args );
1250
    my $response = $self->SUPER::to_api( $args );
1251
1252
    $args = defined $args ? {%$args} : {};
1253
    delete $args->{embed};
1254
1251
    my $biblioitem = $self->biblioitem->to_api( $args );
1255
    my $biblioitem = $self->biblioitem->to_api( $args );
1252
1256
1253
    return { %$response, %$biblioitem };
1257
    return { %$response, %$biblioitem };
1254
- 

Return to bug 30979