@@ -, +, @@ datecancellationprinted --- Koha/Acquisition/Orders.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- a/Koha/Acquisition/Orders.pm +++ a/Koha/Acquisition/Orders.pm @@ -143,7 +143,7 @@ sub filter_by_current { my ($self) = @_; return $self->search( { - datecancellationprinted => [ undef, '0000-00-00' ] + datecancellationprinted => undef, } ); } @@ -160,8 +160,7 @@ sub filter_by_cancelled { my ($self) = @_; return $self->search( { - datecancellationprinted => - [ { '!=' => [ -and => ( undef, '0000-00-00' ) ] } ] + datecancellationprinted => { '!=' => undef } } ); } --