From 68ab081ec9656ecc7384bb71f7e46d12cdafdcf6 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 8 Jun 2023 11:51:17 +0200 Subject: [PATCH] Bug 33951: Set normalized_oclc in opac/opac-readingrecord.pl normalized_oclc is used in the template to build the link to syndetics, but it's not passed from the controller. Is this patch correct? Is syndetics broken on this page? Should we remove it or keep it? Is oclc parameter in the URL unecessary and should be removed? Signed-off-by: Nick Clemens --- opac/opac-readingrecord.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opac/opac-readingrecord.pl b/opac/opac-readingrecord.pl index a968ed7761..df7f6a2c0b 100755 --- a/opac/opac-readingrecord.pl +++ b/opac/opac-readingrecord.pl @@ -101,7 +101,9 @@ foreach my $issue ( @{$issues} ) { MARC::Record::new_from_xml( $marcxml, 'UTF-8', C4::Context->preference('marcflavour') ); $issue->{normalized_upc} = GetNormalizedUPC( $marc_rec, C4::Context->preference('marcflavour') ); + $issue->{normalized_oclc} = GetNormalizedOCLCNumber($marc_rec, C4::Context->preference('marcflavour')); } + } # My Summary HTML if ($opac_summary_html) { -- 2.30.2