[Koha-bugs] [Bug 33794] Holds Queue builder skips least cost branch unless target item's homebranch is patron's homebranch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 25 21:38:07 CEST 2023


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

--- Comment #1 from Laura Escamilla <Laura.escamilla at bywatersolutions.com> ---
Created attachment 151712
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151712&action=edit
Bug 33794: Removing line that causes TCM to pick the most expensive item if it
means that it's going back to it's home branch.

Test Plan:
1. Enable the UseTransportCostMatrix system preference 
2. Ensure that there are at least three test libraries set up (Library A,
Library B, Library C)
3. Set up the TCM so that it is cheaper to transport an item from Library A to
Library C rather than from Library B to Library C. 
4. Choose or create a biblio that has three items. 
    1. Item 1: 
        1. Set home library to Library C and the holding library to Library B —
cost is more expensive
    2. Item 2:
        1. Set home library to Library A and the holding library is Library A -
cost is least expensive (The TCM should be choosing this item)
    3. Item 3:
        1. Set home library to Library C and holding library to Library C, but
check this item out to another patron so that it is unavailable. - Just a
control variable.
5. Choose or create a patron that has their holds pickup library set to Library
C. Place a hold on the biblio above for them. 
6. Build the holds queue
7. The holds queue shows that Item 1 (most expensive) is being chosen over Item
2 (least expensive)
8. Delete the hold and apply the patch
9. Restart the services
10. Repeat step 5
11. Run the holds queue — it is now showing that Item 2 (least expensive) is
being chosen over Item 1 (most expensive)
12. Sign off!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list