https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22284
Liz Rea <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #92755|0 |1 is obsolete| | --- Comment #233 from Liz Rea <[email protected]> --- Created attachment 92852 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=92852&action=edit Bug 22284: Control hold groups in C4::Reserves This patch modifies C4::Reserves to control when hold group options where selected in smart rules. In CanItemBeReserved adds 2 new error status messages 1) branchNotInHoldGroup: when a patron's homebranch is not in item's hold group 2) pickupNotInHoldGroup: when a selected pickup location is not in item's hold group Also CheckReserves is modified when item's priority is defined, to control by hold group when required. Finally, IsAvailableForItemLevelRequest was also modified to control by hold group when required. To test: 1) Apply this patch 2) prove t/db_dependent/Holds.t SUCCESS => Result: PASS 3) Sign off Sponsored-by: VOKAL Signed-off-by: Tomas Cohen Arazi <[email protected]> Signed-off-by: Josef Moravec <[email protected]> Signed-off-by: Liz Rea <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
