[Koha-bugs] [Bug 33224] OPACHoldsIfAvailableAtPickup and no on-shelf holds don't mix well

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 20 22:46:40 CET 2023


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

--- Comment #1 from Hammat wele <hammat.wele at inlibro.com> ---
Created attachment 148436
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148436&action=edit
Bug 33224: OPACHoldsIfAvailableAtPickup and no on-shelf holds don't mix well

When OPACHoldsIfAvailableAtPickup preference is set to Don't allow and
circulation rules allow on-shelf holds only if any unavailable, and we have a
record with a checked out copy at Centerville and an available copy at Midway,
a Midway patron should not be able to place a hold for pickup at Midway since
the Midway copy is available.

This is the setting:
- circulation rules allow on-shelf holds only if any unavailable
- OPACHoldsIfAvailableAtPickup is set to Don't allow

To test:
1. Set up the circulation rule so that on-shelf holds are allowed ('Yes')
2. Create a record with two items, one at Centerville and one at Midway
3. Check out the Centerville item
4. Log into the OPAC with a Midway patron (I used Henry Acevedo)
5. Try to place a hold on the record
   --> Midway is not a valid pickup location (correct behaviour)
6. Cancel
7. Change the circulation rules so that on-shelf holds are only allowed 'if any
unavailable'
8. Try to place a hold on the record from the OPAC again
   --> The system allows you to place the hold for pickup at Midway (incorrect
behaviour)
9. Optionally, check the Holds to pull for Midway (the hold is there, it
shouldn't)
10. Optionnaly, check in the Midway item (it is trapped for Henry's hold)
11. Apply the patch
12. Try again to place a hold on the record from the OPAC
   --> it is impossible to select Midway, Midway is not a valid pickup location

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


More information about the Koha-bugs mailing list