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

(-)a/Koha/Biblio.pm (-6 / +1 lines)
Lines 740-750 sub to_api { Link Here
740
    my $response = $self->SUPER::to_api( $args );
740
    my $response = $self->SUPER::to_api( $args );
741
    my $biblioitem = $self->biblioitem->to_api( $args );
741
    my $biblioitem = $self->biblioitem->to_api( $args );
742
742
743
    foreach my $key ( keys %{ $biblioitem } ) {
743
    return { %$response, %$biblioitem };
744
        $response->{$key} = $biblioitem->{$key};
745
    }
746
747
    return $response;
748
}
744
}
749
745
750
=head3 to_api_mapping
746
=head3 to_api_mapping
751
- 

Return to bug 22880