Browse Source

Bug 10243: (follow-up) prevent TransportCostMatrix from overriding library holds policy

Using the TransportCostMatrix can cause the same issue. Removing the
last ditch use of the first item causes the the subroutine to continue
with the traditional matching, which will respect the hold policies.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
3.14.x
Kyle Hall 11 years ago
committed by Galen Charlton
parent
commit
06ea76c3c2
  1. 1
      C4/HoldsQueue.pm

1
C4/HoldsQueue.pm

@ -448,7 +448,6 @@ sub MapItemsToHoldRequests {
$itemnumber = $item->{itemnumber};
last;
}
$itemnumber ||= $holding_branch_items->[0]->{itemnumber};
}
else {
warn "No transport costs for $pickup_branch";

Loading…
Cancel
Save