]> git.koha-community.org Git - koha.git/commit
Bug 23233: AllowItemsOnHoldCheckout is misnamed and does not indicate it is for SIP...
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 28 Jun 2019 18:07:39 +0000 (14:07 -0400)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 31 Jan 2020 20:49:49 +0000 (20:49 +0000)
commit366a80fb5bf01cb2dd7497b8ff15179d5ef8cb23
tree2b2af64f60efd5ff99127d86360514aeffe7c730
parent38c2a26e0eac6d9d56d2099a0bcaaf686cbb1555
Bug 23233: AllowItemsOnHoldCheckout is misnamed and does not indicate it is for SIP-based checkouts only

The system preference AllowItemsOnHoldCheckout only affects SIP based checkouts. I believe we should rename it AllowItemsOnHoldCheckoutSIP so it matches AllowItemsOnHoldCheckoutSCO. We should also update the description as well.

As far as I know AllowItemsOnHoldCheckout has never affected anything except SIP traffic. That does not preclude the addition of another AllowItemsOnHoldCheckout syspref that would affect the staff interface, but that would be an enhancement and is outside the scope of this bug report.

Test Plan:
1) Test AllowItemsOnHoldCheckout via SIP
2) Apply this patch
3) Test AllowItemsOnHoldCheckoutSIP via SIP
4) Note there is no difference!
5) Note the syspref description has been update to mention SIP

Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 5476e77021e8abd0c733780bb825938a7608ff76)
C4/Items.pm
C4/SIP/ILS/Transaction/Checkout.pm
C4/UsageStats.pm
Koha/Item.pm
installer/data/mysql/atomicupdate/bug_23233.perl [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref