[Koha-bugs] [Bug 30155] We shouldn't calculate get_items_that_can_fill when we don't have any holds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 9 15:11:13 CET 2022


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

--- Comment #4 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 131524
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131524&action=edit
Bug 30155: Don't get items that can fillholds if there are no holds

This makes two changes:
1 - We no longer call get_items_that_can_fill if there are no holds
2 - The subroutine will return an empty Koha::Items object if there are no
holds passed

Signed-off-by: Andrew Fuerste-Henry <andrew at bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list