[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 Oct 15 14:03:55 CEST 2020


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

Arthur Suzuki <arthur.suzuki at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #111696|0                           |1
        is obsolete|                            |

--- Comment #37 from Arthur Suzuki <arthur.suzuki at biblibre.com> ---
Created attachment 111716
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=111716&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 - Hold can 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