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

(-)a/Koha/Acquisition/Basket.pm (-3 / +2 lines)
Lines 81-89 suitable for API output. Link Here
81
=cut
81
=cut
82
82
83
sub to_api {
83
sub to_api {
84
    my ( $self ) = @_;
84
    my ( $self, $params ) = @_;
85
85
86
    my $json = $self->SUPER::to_api;
86
    my $json = $self->SUPER::to_api( $params );
87
87
88
    $json->{closed} = ( $self->closedate )
88
    $json->{closed} = ( $self->closedate )
89
                                    ? Mojo::JSON->true
89
                                    ? Mojo::JSON->true
90
- 

Return to bug 24457