Bug 35357: Remove item from holds queue when it is checked out
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 11 Jan 2024 14:31:45 +0000 (09:31 -0500)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 7 Mar 2024 16:35:41 +0000 (17:35 +0100)
commit0eced8086634e0a77786ce4ea2bfc6e36f969b85
tree7244ae3497009f9d2a44f29c5a9893321dc0a4bb
parent0e11bc0de539692e1ed856a36e6faf4f30335eed
Bug 35357: Remove item from holds queue when it is checked out

Test Plan:
1) Place a hold on an item
2) Build the holds queue
3) Check out the item to a different patron than the one
   targeted in the holds queue
4) Verify the holds queue viewer still shows that item and patron
5) Apply this patch
6) Repeat stepts 1 through 3
7) Verify the holds queue viewer no longer shows that patron and item!

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
C4/Circulation.pm
t/db_dependent/HoldsQueue.t