@@ -, +, @@ - Apply the first patch - Run: $ kshell k$ prove t/db_dependent/Koha/Account.t - Apply this patch - Run: k$ prove t/db_dependent/Koha/Account.t - Sign off :-D --- Koha/Account.pm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) --- a/Koha/Account.pm +++ a/Koha/Account.pm @@ -428,13 +428,11 @@ my $lines = Koha::Account->new({ patron_id => $patron_id })->outstanding_debits; sub outstanding_debits { my ($self) = @_; - my $lines = $self->lines->search( + return $self->lines->search( { amountoutstanding => { '>' => 0 } } ); - - return $lines; } =head3 outstanding_credits @@ -446,13 +444,11 @@ my $lines = Koha::Account->new({ patron_id => $patron_id })->outstanding_credits sub outstanding_credits { my ($self) = @_; - my $lines = $self->lines->search( + return $self->lines->search( { amountoutstanding => { '<' => 0 } } ); - - return $lines; } =head3 non_issues_charges --