]> git.koha-community.org Git - koha.git/commit
Bug 18357: Handle unlimited on-site checkouts
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 2 Nov 2017 16:22:31 +0000 (13:22 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 26 Nov 2017 16:00:17 +0000 (13:00 -0300)
commitb780a14ad9fef316df51680be7c1d9d066959e31
tree3d6a93a57d9d7de38f2fe881e874ef272da3e31b
parentec0ff69182d253b37ae15815d0adeb81f51d1bd1
Bug 18357: Handle unlimited on-site checkouts

If on-site checkouts are set to unlimited (i.e. NULL/undef), they are
currently blocked.

Test plan:
1/ Set All/All rule with Unlimited/unlimited for normal/onsite checkouts
2/ Will be able to perform onsite checkout
3/ Edit rule to be 15/Unlimited normal/onsite
4/ Will be able to perform onsite checkout
=> Without this patch it was blocked
5/ Set rule to 15/15
6/ Onsite checkouts work again

Signed-off-by: David Bourgault <david.bourgault@inlibro.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm
t/db_dependent/Circulation/TooMany.t