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

--- Comment #7 from Marcel de Rooy <[email protected]> ---
Bug 21336 adds a Patrons method lock (wrapper for Koha Patron lock).
So you only need to add a simple search.
Something like:

Koha::Patrons->search({ login_attempts => { '>=', pref_value }, lastseen => {
'<', some_date }) -> lock;

Lock adds the option expire => 1 setting the expire date. Effectively
disallowing holds, issues, etc.
And the option remove => 1 for removing holds and article requests.

So most work done already..

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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