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

--- Comment #72 from Arthur Suzuki <[email protected]> ---
Created attachment 132661
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132661&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)
Added error message when trying to hold on the record and opacitemhold is set
to "Force" to item-level hold

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 <[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/

Reply via email to