Bugzilla – Attachment 163643 Details for
Bug 35826
Optimize building of holds queue based on transport cost matrix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35826: Keep items on retry.
Bug-35826-Keep-items-on-retry.patch (text/plain), 1.07 KB, created by
Kyle M Hall (khall)
on 2024-03-21 16:34:12 UTC
(
hide
)
Description:
Bug 35826: Keep items on retry.
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2024-03-21 16:34:12 UTC
Size:
1.07 KB
patch
obsolete
>From a2a39ced2dbf67e6b5ad258058f1233b702d6b4f Mon Sep 17 00:00:00 2001 >From: Andreas Jonsson <andreas.jonsson@kreablo.se> >Date: Sun, 10 Mar 2024 19:49:40 +0100 >Subject: [PATCH] Bug 35826: Keep items on retry. > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > C4/HoldsQueue.pm | 11 ----------- > 1 file changed, 11 deletions(-) > >diff --git a/C4/HoldsQueue.pm b/C4/HoldsQueue.pm >index 8c76ec23b4e..3ea777372b8 100644 >--- a/C4/HoldsQueue.pm >+++ b/C4/HoldsQueue.pm >@@ -516,17 +516,6 @@ RETRY: > } > } > >- # Remove any item which have no finite transport cost with respect to any of the hold requests. >- for ( my $i = 0, my $i0 = 0 ; $i < $num_agents ; $i++ ) { >- if ( !$candidate_agents[$i] ) { >- splice @m, $i - $i0, 1; >- splice @remaining_items, $i - $i0, 1; >- $i0++; >- } >- } >- >- $num_agents = scalar(@remaining_items); >- > # Remove any hold request for which there is no finite transport cost item available. > my $removed_something = 0; > >-- >2.30.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 35826
:
161373
|
161956
|
163017
|
163018
|
163107
|
163641
|
163642
|
163643
|
163644
|
163645
|
164501
|
164502
|
164503
|
164504
|
164505
|
164964
|
164965
|
164966
|
164967
|
164968