[Koha-bugs] [Bug 14549] Hold not removed when item is checked out to patron who is not next in priority list

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 26 00:24:17 CEST 2019


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

Chris Cormack <chris at bigballofwax.co.nz> changed:

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

--- Comment #11 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 91777
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91777&action=edit
Bug 14549: Check patrons reserves for any holds on a bib when checking out an
item

MoveReserve uses CheckReserves to see if the current patron has any holds
on the title they are checking out, however, CheckReserves doesn't return
all holds on a biblio, it returns holds on the item from the holdsqueue
if they exist

This can create a condition where we check holds on an item, find we have it
planned for
another borrower, confirm checkout to the current borrower, but don't fill
their hold

To test:
  1) Find record
  2) place record level holds for 2 different patrons (record level)
  3) Run holds queue builder, check the queue to confirm an item was selected
for patron 1
     Circulation->Holds queue->Library="All"
  4) Check out the item queued for patron with priority 1 to the second patron
  5) You should be asked to confirm, do so
  6) Note the item checks out, but both holds remain
  7) Apply patch
  8) Check in the item
  9) Don't confirm the hold
 10) Check the holds on the record and the holds queue
 11) Patron 1 should be priority 1 with an item selected from the holds queue
 12) Checkout to patron 2 as before
 13) Note the hold for patron 2 is filled this time
 14) Prove -v t/db_dependent/Reserves.t

Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

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


More information about the Koha-bugs mailing list