]> 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)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 28 Apr 2014 17:12:04 +0000 (17:12 +0000)
commit35a94f6423ee851668047075dbc153dc3aa13606
tree1b1be74197008ce423b340a37657b47728a5bafc
parent2f5e9df121508fe32e5109621224d1ebbc8c388c
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>
Koha/Borrower/Debarments.pm
circ/circulation.pl