Bugzilla – Attachment 194907 Details for
Bug 41959
Holds queue builder doesn't always check all holds when using transport cost matrix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41959: Handle edge case
Bug-41959-Handle-edge-case.patch (text/plain), 711 bytes, created by
Andreas Jonsson
on 2026-03-06 20:28:21 UTC
(
hide
)
Description:
Bug 41959: Handle edge case
Filename:
MIME Type:
Creator:
Andreas Jonsson
Created:
2026-03-06 20:28:21 UTC
Size:
711 bytes
patch
obsolete
>From 85396d0605a1facaa00bb50f637ddf98ec8d5317 Mon Sep 17 00:00:00 2001 >From: Andreas Jonsson <andreas.jonsson@kreablo.se> >Date: Fri, 6 Mar 2026 20:21:50 +0000 >Subject: [PATCH] Bug 41959: Handle edge case > >--- > C4/HoldsQueue.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/HoldsQueue.pm b/C4/HoldsQueue.pm >index e0602e595eb..6f82ca46d91 100644 >--- a/C4/HoldsQueue.pm >+++ b/C4/HoldsQueue.pm >@@ -479,7 +479,7 @@ sub _allocateWithTransportCostMatrix { > > RETRY: > while (1) { >- return [] if $num_agents == 0 || $num_tasks == 0; >+ return [] if $num_agents == 0 || $num_tasks + scalar(@remaining) == 0; > > if ( $num_tasks < $num_agents && @remaining ) { > >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41959
:
194560
|
194561
| 194907