]> git.koha-community.org Git - koha.git/commit
Bug 11565 - decreaseLoanHighHolds needs Override
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 30 Sep 2015 15:48:14 +0000 (11:48 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 29 Apr 2016 12:11:44 +0000 (12:11 +0000)
commit0893a5075b0ae27509de12ddf11d7e005ae53c43
tree8c59978ddc73bbf83775d36cf5c6a9abe406fb88
parent74e28c02f9c7588fed911afaf92eac6e34d00e49
Bug 11565 - decreaseLoanHighHolds needs Override

This patch allows the high holds loan length decrease to be overridden
either by a checkbox that remembers its setting during a series of
checkouts, or by a one time use override checkbox that will show
in the warning popup if a checkout is affected by high holds.

Test Plan:
1) Set up a checkout that will be affected by decreaseLoanHighHolds
2) Attempt to check out an item
3) Check the override checkbox
4) Note the checkout date is not reduced
5) Return the item
6) Start a new checkout for the patron
7) Check the "Don't decrease lean length based on holds" checkbox
8) Check out the item
9) Note you are not warned about the high holds decrease
   and that the checkout length is not reduced

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Circulation.pm
circ/circulation.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
t/db_dependent/DecreaseLoanHighHolds.t