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

--- Comment #3 from Nick Clemens (kidclamp) <[email protected]> ---
Created attachment 194561
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194561&action=edit
Bug 41959: Handle edge case

With a single hold at least the RETRY loop was never activated after an initial
pass with 1 hold

We try the hold - it cannot be filled - is removed from the requests array
The number of tasks is now 0, less than agents (1) and we don't enter remaining
loop

For this case we also need to always splice 1 from remaining, or it doesn't
shrink

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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