Bug 18936: (follow-up) Add foreign key and scope enhancement to circ rules
authorJesse Weaver <pianohacker@gmail.com>
Thu, 14 Sep 2017 19:32:26 +0000 (13:32 -0600)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 4 Feb 2020 09:56:24 +0000 (09:56 +0000)
commitf2dfa17f0e7b3e6e1a035af18a16b0378a1b16f2
tree81d4b6ea24e0a504ef8e71cec0ecf4a4905c1a88
parenta957114bd13e3876af2f3f9b5f1ca85aca0d0dfd
Bug 18936: (follow-up) Add foreign key and scope enhancement to circ rules

This necessitates moving the circ rules from using '*' to using
undef/NULL.

Signed-off-by: Minna Kivinen <minna.kivinen@hamk.fi>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
33 files changed:
C4/Circulation.pm
C4/Reserves.pm
Koha/CirculationRules.pm
Koha/REST/V1/CirculationRules.pm [new file with mode: 0644]
admin/smart-rules.pl
api/v1/swagger/definitions.json
api/v1/swagger/definitions/circ-rule-kind.json [new file with mode: 0644]
api/v1/swagger/paths.json
api/v1/swagger/paths/circulation-rules.json [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt
t/db_dependent/ArticleRequests.t
t/db_dependent/Circulation.t
t/db_dependent/Circulation/Branch.t
t/db_dependent/Circulation/CalcFine.t
t/db_dependent/Circulation/GetHardDueDate.t
t/db_dependent/Circulation/IssuingRules/maxsuspensiondays.t
t/db_dependent/Circulation/Returns.t
t/db_dependent/Circulation/SwitchOnSiteCheckouts.t
t/db_dependent/Circulation/TooMany.t
t/db_dependent/Circulation/issue.t
t/db_dependent/DecreaseLoanHighHolds.t
t/db_dependent/Fines.t
t/db_dependent/Holds.t
t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t
t/db_dependent/Holds/HoldFulfillmentPolicy.t
t/db_dependent/Holds/HoldItemtypeLimit.t
t/db_dependent/HoldsQueue.t
t/db_dependent/Koha/IssuingRules.t
t/db_dependent/RefundLostItemFeeRule.t
t/db_dependent/Reserves.t
t/db_dependent/Reserves/MultiplePerRecord.t
t/db_dependent/TestBuilder.t
t/db_dependent/api/v1/holds.t