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

(-)a/Koha/Biblio.pm (-1 / +4 lines)
Lines 1259-1264 sub to_api { Link Here
1259
    my ($self, $args) = @_;
1259
    my ($self, $args) = @_;
1260
1260
1261
    my $response = $self->SUPER::to_api( $args );
1261
    my $response = $self->SUPER::to_api( $args );
1262
1263
    $args = defined $args ? {%$args} : {};
1264
    delete $args->{embed};
1265
1262
    my $biblioitem = $self->biblioitem->to_api( $args );
1266
    my $biblioitem = $self->biblioitem->to_api( $args );
1263
1267
1264
    return { %$response, %$biblioitem };
1268
    return { %$response, %$biblioitem };
1265
- 

Return to bug 32711