http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2720 --- Comment #7 from Owen Leonard <oleonard@myacpl.org> --- (In reply to comment #6)
We can have a cronjob that runs nightly to remove any expired debarments, and reset the borrowers.debarment field to 0 if the borrower no longer has any active debarments.
If we're relying on a cron job to remove debarments, then I wonder why we bother with the extra table? Why not run a cron job which checks for borrowers with no overdues for whom borrowers.debarred = '9999-12-31' ? This would exclude patrons which were restricted under a suspension in days rule. If we're trying to exclude patrons for whom borrowers.debarred was set manually, maybe we need to instead create a new flag for manual restriction? -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.