]> git.koha-community.org Git - koha.git/commit
Bug 10311 - Holds queue ignores item-level holds where only one items exists
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 22 May 2013 13:52:40 +0000 (09:52 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 12 Jun 2013 18:40:46 +0000 (15:40 -0300)
commitc500fbb9e2fe292adbd4c33f8a6071bd7aa5b0fd
treeaedd69bbd93769dcc4dd4a7b72e3220737b3d936
parent46296f1e3e92435ea1190615042aee09a7743114
Bug 10311 - Holds queue ignores item-level holds where only one items exists

If a record has only one item, and that item has one item-level hold on
it, that hold will not show in the holds queue.

Test Plan:
1) Create 1 record with 1 item at BranchA
2) Create an item-level hold for that item, for pickup at BranchA by a
   patron of BranchA
3) Run build_holds_queue.pl
4) View the holds queue for BranchA
5) Note the hold is not in there
6) Apply this patch
7) Re-run build_holds_queue.pl
8) View the holds queue again
9) Not that the hold is now there

Signed-off-by: George Williams <georgew@latahlibrary.org>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit acd4b21c91f4b06a6e19cafb4b9a6dd2817ad8e9)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/HoldsQueue.pm