Lines 287-292
sub MapItemsToHoldRequests {
Link Here
|
287 |
@pull_branches = @branches_to_use; |
287 |
@pull_branches = @branches_to_use; |
288 |
} else { |
288 |
} else { |
289 |
@pull_branches = sort keys %items_by_branch; |
289 |
@pull_branches = sort keys %items_by_branch; |
|
|
290 |
shuffle(@pull_branches) if C4::Context->preference("RandomizeHoldsQueueWeight"); |
290 |
} |
291 |
} |
291 |
foreach my $branch (@pull_branches) { |
292 |
foreach my $branch (@pull_branches) { |
292 |
next unless exists $items_by_branch{$branch} and |
293 |
next unless exists $items_by_branch{$branch} and |
293 |
- |
|
|