From 77de901ad537d998125f549ac8c2b91593f98a6b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 5 Oct 2021 14:32:47 +0200 Subject: [PATCH] Bug 3142: Add note about imprecision of filter_by_for_hold Content-Type: text/plain; charset=utf-8 Signed-off-by: Marcel de Rooy --- Koha/Items.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Koha/Items.pm b/Koha/Items.pm index 895123c7be..ced8653b46 100644 --- a/Koha/Items.pm +++ b/Koha/Items.pm @@ -43,7 +43,10 @@ Koha::Items - Koha Item object set class my $filtered_items = $items->filter_by_for_hold; -Return the items of the set that are holdable +Return the items of the set that are *potentially* holdable + +Caller has the responsability to call C4::Reserves::CanItemBeReserved before +placing a hold on one of those items. =cut -- 2.20.1