From c41525f79961d5aef5383256b37382d6194240b7 Mon Sep 17 00:00:00 2001 From: Samu Heiskanen Date: Wed, 8 Dec 2021 01:46:47 +0000 Subject: [PATCH] Bug 29043: Remaining bug is the incorrect title "Place a hold on No title" This version takes account of the batch-mode. I only just add the line: $template->param( biblio => $biblio ) if scalar @biblionumbers == 1; inside the foreach loop. All my other patch-fixes are obsolete. --- reserve/request.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reserve/request.pl b/reserve/request.pl index 76d00f35bf..6b6ee5d925 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -327,6 +327,8 @@ foreach my $biblionumber (@biblionumbers) { last; } + $template->param( biblio =>$biblio ) if scalar @biblionumbers == 1; + my $count = Koha::Holds->search( { biblionumber => $biblionumber } )->count(); # adding a fixed value for priority options -- 2.25.1