[Koha-bugs] [Bug 34666] _Findgroupreserve is not returning title level matches from the queue for holds with no item group

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 30 21:04:46 CEST 2023


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

--- Comment #2 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 154979
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=154979&action=edit
Bug 34666: Allow item_group to be null and still match

The current logic requires that the grop ids match, but this eliminates null
matches
from the group.

The fallout essentially is that the queue won't be checked to fill holds in
cases of title level matches
where holds don't have an item group id. The queue checks the transport cost
matrix while the check reserves
check does not, so this may have an impact on holds costs and delivery times

To test:
0 - Apply unit test patch
1 - prove -v t/db_dependent/Reserves.t
2 - It fails
3 - Apply this patch
4 - prove -v t/db_dependent/Reserves.t
5 - It passes!

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


More information about the Koha-bugs mailing list