[Koha-bugs] [Bug 5786] Move AllowOnShelfHolds system preference to the Circulation Matrix [Needs one more signoff]
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 26 18:23:52 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5786
--- Comment #88 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 35545
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35545&action=edit
Bug 5786 - Move AllowOnShelfHolds system preference to the Circulation Matrix
C4::Reserves:
* Added OnShelfHoldsAllowed() to check issuingrules
* Added OPACItemHoldsAllowed() to check issuingrules
* IsAvailableForItemLevelRequest() changed interface, now takes
$item_record,$borrower_record; calls OnShelfHoldsAllowed()
opac/opac-reserve.pl and opac/opac-search.pl:
* rewrote hold allowed rule to use OPACItemHoldsAllowed()
* also use OnShelfHoldsAllowed() through
* IsAvailableForItemLevelRequest()
templates:
* Removed AllowOnShelfHolds and OPACItemHolds global flags, they now
only have meaning per item type
Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>
I have tested this patch left, right and upside down for the last
several months. All tests have passed.
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list