Bugzilla – Attachment 161007 Details for
Bug 35805
Two issues with HoldsQueue::MapItemsToHoldRequests
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35805: Use transport cost matrix if local item allocation failed
Bug-35805-Use-transport-cost-matrix-if-local-item-.patch (text/plain), 899 bytes, created by
Andreas Jonsson
on 2024-01-13 13:38:46 UTC
(
hide
)
Description:
Bug 35805: Use transport cost matrix if local item allocation failed
Filename:
MIME Type:
Creator:
Andreas Jonsson
Created:
2024-01-13 13:38:46 UTC
Size:
899 bytes
patch
obsolete
>From db58df286cbcbff1bef1e1fb91819967afd5a575 Mon Sep 17 00:00:00 2001 >From: Andreas Jonsson <andreas.jonsson@kreablo.se> >Date: Sat, 13 Jan 2024 13:38:10 +0000 >Subject: [PATCH] Bug 35805: Use transport cost matrix if local item allocation > failed > >--- > C4/HoldsQueue.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/HoldsQueue.pm b/C4/HoldsQueue.pm >index f58406f5bd..85d2bf3820 100644 >--- a/C4/HoldsQueue.pm >+++ b/C4/HoldsQueue.pm >@@ -568,7 +568,7 @@ sub MapItemsToHoldRequests { > } > $holdingbranch = $pickup_branch; > } >- elsif ($transport_cost_matrix) { >+ if (!defined $itemnumber && defined $transport_cost_matrix) { > $pull_branches = [keys %items_by_branch]; > $holdingbranch = least_cost_branch( $pickup_branch, $pull_branches, $transport_cost_matrix ); > if ( $holdingbranch ) { >-- >2.39.2
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 35805
: 161007 |
161008