From aa837bbdadeaf783bf76ee01b602eb4b797318a2 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 4 Aug 2025 18:25:08 +0000 Subject: [PATCH] Bug 37219: (follow-up) Send copy number flag to template This patch corrects opac-reserve.pl so that copy number information will be passed to the template. --- opac/opac-reserve.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index 39b1124a8bf..43a7075cef2 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -505,8 +505,9 @@ foreach my $biblioNum (@biblionumbers) { push @{ $biblioLoopIter{itemLoop} }, $item_info; } $template->param( - itemdata_enumchron => $itemdata_enumchron, - itemdata_ccode => $itemdata_ccode, + itemdata_copynumber => $itemdata_copynumber, + itemdata_enumchron => $itemdata_enumchron, + itemdata_ccode => $itemdata_ccode, ); if ( $numCopiesAvailable > 0 ) { -- 2.39.5