Bug 17443: Make possible to renew patron by later of expiry and current date
authorJosef Moravec <josef.moravec@gmail.com>
Thu, 13 Oct 2016 12:21:48 +0000 (14:21 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 28 Oct 2016 16:45:05 +0000 (16:45 +0000)
commit0a85759d3335c002233d7c7b07a8f8fcaeb22cae
treeac496df3c5b798f385c6f0fb4be251b7a619274c
parent607dac69a95e7bcb454661bfde71a45ee20d0155
Bug 17443: Make possible to renew patron by later of expiry and current date

Test plan
1) Apply the patch
2) Go to system preferences and find the BorrowerRenewalPeriodBase and note there is new option "the later of current and expiry date"
3) Try all three options and confirm they work as expected
   3.1) The new options should be tested et least with two patrons - one with expiry date in past and one with expiry date in future

Signed-off-by: radiuscz <radek.siman@centrum.cz>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/Patron.pm
installer/data/mysql/atomicupdate/bug_17443.sql [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref