@@ -, +, @@ method $ kshell k$ prove t/db_dependent/Koha/Acquisition/Basket.t --- Koha/Acquisition/Basket.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Koha/Acquisition/Basket.pm +++ a/Koha/Acquisition/Basket.pm @@ -81,9 +81,9 @@ suitable for API output. =cut sub to_api { - my ( $self ) = @_; + my ( $self, $params ) = @_; - my $json = $self->SUPER::to_api; + my $json = $self->SUPER::to_api( $params ); $json->{closed} = ( $self->closedate ) ? Mojo::JSON->true --