From 2211b170f1eb95118ebcb4f923048f3562b7040b Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 31 Oct 2019 13:52:05 -0400 Subject: [PATCH] Bug 23934: Item level holds not checked for LocalHoldsPriority in Holds Queue Test plan: - Set LocalHoldsPriority to "Give priority for filling holds to patrons whose pickup library matches the item's holding library" - set yourself at Library A - find at item at Library A - place an item-level hold (Hold 1) for item for pickup at Library B - set an item-level hold (Hold 2) for item for pickup at Library A - Confirm Hold 1 shows priority=1 - Check in item - confirm item would be captured for Hold 2, ignore hold - run holds queue - check item in - confirm item is captured for Hold 2 Signed-off-by: Andrew Fuerste-Henry Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson --- C4/HoldsQueue.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/C4/HoldsQueue.pm b/C4/HoldsQueue.pm index 774e247738..5f2c2c556c 100755 --- a/C4/HoldsQueue.pm +++ b/C4/HoldsQueue.pm @@ -400,7 +400,6 @@ sub MapItemsToHoldRequests { C4::Context->preference('LocalHoldsPriorityItemControl'); foreach my $request (@$hold_requests) { - next if (defined($request->{itemnumber})); #skip item level holds in local priority checking last if $num_items_remaining == 0; my $local_hold_match; -- 2.39.5