[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
Tue Mar 8 16:58:13 CET 2022


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

Andrew Fuerste-Henry <andrew at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #131024|0                           |1
        is obsolete|                            |

--- Comment #3 from Andrew Fuerste-Henry <andrew at bywatersolutions.com> ---
Created attachment 131485
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131485&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>

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


More information about the Koha-bugs mailing list