]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 9 Mar 2021 09:31:46 +0000 (10:31 +0100)
commit445ca21ff06ca2e4f3a59d0a70c8bce6533168db
tree2129fae9607d47466f3846553f31edbc1e9ef247
parentcdc668764cefde4924291b8d51bd97ec8a4157d1
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>
C4/Reserves.pm