[Koha-bugs] [Bug 15729] SIP server allows checkin of reserved item

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 4 17:54:54 CET 2019


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

--- Comment #6 from Barry Cannon <bc at interleaf.ie> ---
Created attachment 95019
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95019&action=edit
Bug 15729 - SIP server allows checkin of reserved item

This patch allows the library to allow or dissallow items that are reserved to
be checked in via a selfcheck machine.
Some libraries perfer to deny the checkin transaction to force the borrower to
return via the circ desk.

Adds a new systempreference called AllowSIPCheckInOnHolds.

To Test, apply the patch and run database update

- Check Administration > System preferences > Circulation >
AllowSIPCheckInOnHolds and set to "Don't Allow"
- Find, or create, a biblio in the catalogue with more that one item and place
a bib level hold.
- Restart SIP instance on the server
- Issue a checkin transaction call from a selfcheck machine or via the sip_cli
emulator
- Observe the checkin has been denied with screen message explaining why.
- Delete the hold on the biblio record.
- Create a new hold item-level hold on the same biblio record
- Try the transaction again with the item that has an item-level hold.
- Observe the checing has been denied.
- Try the transaction again with an item attached to the biblio that does not
have an item-level hold
- Observer the checkin is allowed.
- Change the System preference AllowSIPCheckInOnHolds to "Allow"
- Restart the SIP instance on the server
- Preform the checkin transaction above again and notice they are now permitted

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


More information about the Koha-bugs mailing list