From 313810eee7e5135e0f4987656cfc25b79426e761 Mon Sep 17 00:00:00 2001 From: Samu Heiskanen Date: Wed, 8 Dec 2021 01:03: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..6df3cb368b 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -326,6 +326,8 @@ foreach my $biblionumber (@biblionumbers) { $template->param('nobiblio' => 1); last; } + + $template->param( biblio => $biblio ) if scalar @biblionumbers == 1; my $count = Koha::Holds->search( { biblionumber => $biblionumber } )->count(); -- 2.25.1