]> 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)
committerBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Mon, 8 Jul 2013 13:05:55 +0000 (10:05 -0300)
commite66a1d4776e201a72556449057f2e7c9b87a0c91
treec8dfcb16e2e9b83c1da35b05cc268cbf8e913a63
parent8b25507cc115432d7de6cabb7ce5054f20bfbf04
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>
(cherry picked from commit c500fbb9e2fe292adbd4c33f8a6071bd7aa5b0fd)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked fromc500fbb9e2fe292adbd4c33f8a6071bd7aa5b0fd)
C4/HoldsQueue.pm