[Koha-bugs] [Bug 25408] CanBookBeReserved & CanItemBeReserved should check "opacitemholds" policy

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 14 05:54:07 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25408

--- Comment #48 from Arthur Suzuki <arthur.suzuki at biblibre.com> ---
Created attachment 115127
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115127&action=edit
Bug 25408: Add "opacitemholds" checks in CanBookBeReserved & CanItemBeReserved

The rule "opacitemholds" seemed not to be controlled in some cases.
This patch adds a control for this issuingrule in such a way it is checked
across all interfaces (staff, opac, api)

To test:
0 - Apply patches
1 - Set rule to "Don't allow" item specific holds on opac
2 - Attempt to place hold on staff side
3 - Hold is still allowed
4 - Attempt to place hold from opac or api
5 - Hold is not allowed
6 - Change rule to 'force'
7 - Item-level hold can be placed in all interfaces
8 - Record-level hold cannot be placed in all interfaces

Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list