Bug 19301: Move C4::Reserves::OnShelfHoldsAllowed to get_onshelfholds_policy
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 11 Sep 2017 19:02:19 +0000 (16:02 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 13 Feb 2018 16:36:00 +0000 (13:36 -0300)
commit39e1fbcbe95eb128dc9e6eb78df2ea2f0c68ff0f
tree2e72ce5e48e15cc43ba380ffd06e45d433dcb31b
parenta3c922c2a1b8f24f0348480869904eccb2160079
Bug 19301: Move C4::Reserves::OnShelfHoldsAllowed to get_onshelfholds_policy

Following the pattern introduced by bug 19300, we are going to move the
OnShelfHoldsAllowed logic to Koha::IssuingRules->get_onshelfholds_policy

Test plan:
Make sure the onshelfholds policy is correct when placing a hold

Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Reserves.pm
Koha/IssuingRules.pm
opac/opac-ISBDdetail.pl
opac/opac-MARCdetail.pl
opac/opac-detail.pl
opac/opac-shelves.pl