[Koha-bugs] [Bug 31937] Prevent cleanup_database.pl from locking too many accounts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 27 14:06:16 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31937

--- Comment #4 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Marcel de Rooy from comment #0)
> The first run of cleanupdatabase after the upgrade to 21.11 did indeed
> cleanup a lot ;)
> It seems that this statement
>     my $expired_patrons = Koha::Patrons->filter_by_expiration_date({ days =>
> $lock_days })->search({ login_attempts => { '!=' => -1 } });
> 
> works different than before. It must have selected patrons that had an empty
> dateexpiry in 20.11 ?

In order to be complete, this comment was not the cause. See comment1.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list