[Koha-bugs] [Bug 30266] Holds marked waiting with a holdingbranch that does not match can cause loss of pickup locations

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 10 13:39:48 CET 2022


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

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 131553
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131553&action=edit
Bug 30266:

This patch updates the holds table to always insert a hidden input when a hold
is 'found'
and covers the case where the hold is 'found' but doesn't match known statuses

To test:
 1 - Place two holds on a record for two different patrons, with different
pickup locations
 2 - Check in one item at expected branch to set waiting
 3 - Then either:
    - Use batch modification or item editor to change the holding branch for
the item
    - Sign in to a different branch and manually transfer the item back to it's
home location
 4 - View the holds for the record
 5 - Note the 'Pickup library' column is blank for that hold
 6 - Change pickup location for other hold and press 'Update holds'
 7 - Note the waiting hold is still blank, and now second hold has no pickup
location
 8 - Check the DB and note the first hold has had the pickup location changed
 8 - Apply patch
 9 - Delete holds and repeat 1-4
10 - Note the waiting hold now displays:
    Hold expected at {Branch}, please checkin to verify status
11 - Change location for second hold and update holds
12 - COnfirm location chanegd correctly and first hold unaffected

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


More information about the Koha-bugs mailing list