]> git.koha-community.org Git - koha.git/commit
Bug 12134: ensure that patrons are not restricted even when the last restriction...
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 24 Apr 2014 15:23:05 +0000 (11:23 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 30 Apr 2014 14:22:12 +0000 (16:22 +0200)
commit4c3f8e0bc166b303073e12b6ac1a2cb81bffc79b
treedb7f3ab1004c27d9442033e4b5d58729c8091d94
parent72e087186db168d8b833afc8b2aa8f6f1f5eaf12
Bug 12134: ensure that patrons are not restricted even when the last restriction has expired

Test Plan:
1) Add a manual restriction to a patron and wait until the
   expiration date of the restriction has passed.  This can be
   simulated by modifying borrowers.debarred for a borrower and
   setting the date in the past.
2) Try to check out an item to that patron
3) Note you cannot
4) Apply this patch
5) Repeat step 2
6) Note you can now check out items the patron

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 35a94f6423ee851668047075dbc153dc3aa13606)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Borrower/Debarments.pm
circ/circulation.pl