]> git.koha-community.org Git - koha.git/commit
Bug 24359: Remove hold from holds queue when captured
authorAgustin Moyano <agustinmoyano@theke.io>
Wed, 28 Oct 2020 13:48:18 +0000 (10:48 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 12 Mar 2021 08:45:30 +0000 (09:45 +0100)
commit7131ed22e01f6a20811fe05b643e86883df9a59d
tree6046e6fcc7fb6766c425b8ed9cb1ba38f10a5946
parentc8ac7510870ce3a275fd1a2594abb8f821e1aa4a
Bug 24359: Remove hold from holds queue when captured

This patch removes a hold from holds queue when captured by check in.

To test:

1. check out an item from a book with multiple items for patron_1
2. place a biblio level hold for patron_2
3. perl misc/cronjobs/holds/build_holds_queue.pl
CHECK => holds queue shows the placed hold
4. check in the item from step 1 and confirm hold for patron_2
SUCCESS => hold for patron_2 is no longer in holds queue
5. prove t/db_dependent/HoldsQueue.t

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 445ca21ff06ca2e4f3a59d0a70c8bce6533168db)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Reserves.pm