]> git.koha-community.org Git - koha.git/commit
Bug 35432: Add _can_item_fill_request subroutine
authorNick Clemens <nick@bywatersolutions.com>
Wed, 29 Nov 2023 14:15:09 +0000 (14:15 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 16 Apr 2024 15:59:48 +0000 (17:59 +0200)
commit0297cb8c175818aa9081e1a8e9682af9ad68ae78
tree89a2b3545d423bd1e8457c5e7e7a34dc372627a8
parentc3ac21bffcb28ad538e4ba7f25c4503761122924
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@chetcolibrary.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
C4/HoldsQueue.pm