diff --git a/Koha/REST/V1/Biblios.pm b/Koha/REST/V1/Biblios.pm index c8d220e6da..61332553a1 100644 --- a/Koha/REST/V1/Biblios.pm +++ b/Koha/REST/V1/Biblios.pm @@ -619,7 +619,7 @@ sub list { if ( $c->req->headers->accept =~ m/application\/json(;.*)?$/ ) { return $c->render( status => 200, - json => $biblios->to_api + json => $c->objects->to_api( $biblios ), ); } elsif (