https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43033

--- Comment #6 from Nick Clemens (kidclamp) <[email protected]> ---
Created attachment 201801
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201801&action=edit
Bug 43033: retry allocation with valid items

* The representation of the value "infinity" must be reset to -1 at the
  start of each allocation attempt.
* Unallocated items must be spliced out from the candidate arrays in
  reverse index order.

Test plan:

1. Run the unit tests in
   t/db_dependent/HoldsQueue/TransportCostOptimizations.t

Signed-off-by: Nick Clemens <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to