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

            Bug ID: 31937
           Summary: cleanup_database locked a large number of patrons
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

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 ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to