diff --git a/C4/HoldsQueue.pm b/C4/HoldsQueue.pm index b4d2b026f2..b61562885f 100644 --- a/C4/HoldsQueue.pm +++ b/C4/HoldsQueue.pm @@ -596,12 +596,7 @@ sub MapItemsToHoldRequests { } unless ($itemnumber) { - # not found yet, fall back to basics - if ($branches_to_use) { - $pull_branches = $branches_to_use; - } else { - $pull_branches = [keys %items_by_branch]; - } + $pull_branches = [keys %items_by_branch]; # Try picking items where the home and pickup branch match first PULL_BRANCHES: