Bugzilla – Attachment 152141 Details for
Bug 33951
normalized_oclc not defined in opac-readingrecord.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33951: Set normalized_oclc in opac/opac-readingrecord.pl
Bug-33951-Set-normalizedoclc-in-opacopac-readingre.patch (text/plain), 1.22 KB, created by
Jonathan Druart
on 2023-06-08 09:52:55 UTC
(
hide
)
Description:
Bug 33951: Set normalized_oclc in opac/opac-readingrecord.pl
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-06-08 09:52:55 UTC
Size:
1.22 KB
patch
obsolete
>From a44d229e423133adeb71fc91a8040f55fa271c5e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33951
:
152141
|
152157
|
152158