https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35432 --- Comment #3 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 159353 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159353&action=edit Bug 35432: Simplay HoldsQueuePrioritize branch check The code here is going to check items held the the pickup location for a request or from the least cost branch matching the patron's home library against the HoldsQueuePrioritizeBranch setting The loop is the same in both case, so lets simplify this a bit to make the intent more clear To test: 1 - prove -v t/db_dependent/HoldsQueue.t 2 - It should pass before and after this patch -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.