[Koha-bugs] [Bug 35432] Clarify and simplify the workings of MapItemsToHoldRequests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 30 00:25:14 CET 2023


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

Phil Ringnalda <phil at chetcolibrary.org> changed:

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

--- Comment #7 from Phil Ringnalda <phil at chetcolibrary.org> ---
Created attachment 159382
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159382&action=edit
Bug 35432: Add _can_item_fill_request subroutine

There are a series of repeated checks throughout MapItemsToHoldRequests.

This patch simply consolidates them into a single routine that can be called.

To test:
1 - prove t/db_dependent/HoldsQueue.t
2 - Confirm it passes before and after this patch is applied

Signed-off-by: Phil Ringnalda <phil at chetcolibrary.org>

-- 
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