Bug 39301: (RMaint follow-up) Fix missing var Koha::Statistic::pseudonymization_types

This commit is contained in:
Fridolin Somers 2026-06-18 15:47:31 +02:00
parent ae0aacd76b
commit 178312e403
No known key found for this signature in database
GPG Key ID: 9A8E73E2A8B96537
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ print "Searching for statistics before $before\n" if $verbose;
my $statistics = Koha::Statistics->search(
{
datetime => { '<=' => $before },
type => { '-in' => \@Koha::Statistic::pseudonymization_types },
type => { '-in' => [ 'renew', 'issue', 'return', 'onsite_checkout' ] },
borrowernumber => { '!=' => undef }
}
);