From 1c86aa22b457ba8f22a686cc8761f2d7ee775a76 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. Signed-off-by: Samu Heiskanen Signed-off-by: Nick Clemens --- reserve/request.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reserve/request.pl b/reserve/request.pl index a1166ca779..ba1db22762 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -321,6 +321,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.20.1