From a44d229e423133adeb71fc91a8040f55fa271c5e 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? --- opac/opac-readingrecord.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opac/opac-readingrecord.pl b/opac/opac-readingrecord.pl index a968ed77619..df7f6a2c0b8 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.25.1