Bug 18925: Move maxissueqty and maxonsiteissueqty to circulation_rules
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 10 Jul 2017 15:00:44 +0000 (11:00 -0400)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 5 Mar 2019 20:41:42 +0000 (20:41 +0000)
commit26a779eded6fe24abe0be904da64e0186c3d91ec
tree92a8ca79d3fe1c49672b78a08633d77cd15c914c
parent1e4f442442844cfaf17f5b06f122f6259d5fee92
Bug 18925: Move maxissueqty and maxonsiteissueqty to circulation_rules

This patch set moves maxissueqty and maxonsiteissueqty to the
circulation_rules table.

Test Plan:
1) Apply this patch
2) Run updatedatabase
3) prove t/db_dependent/Circulation.t
4) prove t/db_dependent/Circulation/Branch.t
5) prove t/db_dependent/Circulation/GetHardDueDate.t
6) prove t/db_dependent/Circulation/Returns.t
7) prove t/db_dependent/Circulation/SwitchOnSiteCheckouts.t
8) prove t/db_dependent/Circulation/TooMany.t
9) prove t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t
10) prove t/db_dependent/Reserves.t
11) Note no changes in circulation behavior related to check out limis
    both on and off site

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
14 files changed:
C4/Circulation.pm
Koha/CirculationRules.pm
admin/smart-rules.pl
installer/data/mysql/atomicupdate/bug_18925.perl [new file with mode: 0644]
installer/data/mysql/kohastructure.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt
t/db_dependent/Circulation.t
t/db_dependent/Circulation/Branch.t
t/db_dependent/Circulation/GetHardDueDate.t
t/db_dependent/Circulation/Returns.t
t/db_dependent/Circulation/SwitchOnSiteCheckouts.t
t/db_dependent/Circulation/TooMany.t
t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t
t/db_dependent/Reserves.t