From fdece5ab519e9bd30791a9c2241a9925ab57eb57 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 20 Jan 2025 13:42:37 +0000 Subject: [PATCH] Bug 37651: (QA follow-up) Add POD for Biblio method We were missing POD here. Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens Signed-off-by: Lucas Gass (cherry picked from commit d2f20b00f120bc37057a4f6a223369a8933d2654) Signed-off-by: Paul Derscheid --- Koha/Biblio.pm | 4 ++-- Koha/Item.pm | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm index 72bcab4a52..964c7992e0 100644 --- a/Koha/Biblio.pm +++ b/Koha/Biblio.pm @@ -803,8 +803,8 @@ sub old_holds { my $holds = $biblio->current_holds - Return the holds placed on this bibliographic record. - Respects the lookahead days in ConfirmFutureHolds pref. +Return the holds placed on this bibliographic record. +Respects the lookahead days in ConfirmFutureHolds pref. =cut diff --git a/Koha/Item.pm b/Koha/Item.pm index d6c46b6a28..8b4f1585af 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -1166,6 +1166,11 @@ sub article_request_type { =head3 current_holds + my $holds = $item->current_holds + +Return the holds placed on this item. +Respects the lookahead days in ConfirmFutureHolds pref. + =cut sub current_holds {