Bug 34673

Summary: TransportCostMatrix should be checked iteratively
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: Hold requestsAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kebliss, kyle, lisette, mspinney
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33796
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Nick Clemens (kidclamp) 2023-08-31 15:02:18 UTC
Currently the TransportCostMatrix is used during the holds queue process to find the least cost branch when filling a hold.

For each request we find the cheapest branch option (or one of them if they are equal) then check the pool of items from that branch to see if one of them can satisfy the hold.

If we can't fill from the least cost branch, then we move on to any other branch.

It would improve the situation for libraries if we went through all branches ordered by the cost transport matrix, and optionally randomized when costs are equal.
Comment 1 Kyle M Hall (khall) 2023-09-29 15:23:45 UTC

*** This bug has been marked as a duplicate of bug 33796 ***