]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 11 Mar 2024 10:25:23 +0000 (11:25 +0100)
commitb91c1d6005dbcfcd2dda885515cf5d377217f2c4
tree0e74a3bebf71d823324c63fa4474fcd341dd43e7
parent29fd20e0684da021ca8804f931141f508bcdd103
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>
(cherry picked from commit 0eced8086634e0a77786ce4ea2bfc6e36f969b85)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Circulation.pm
t/db_dependent/HoldsQueue.t