Bugzilla – Attachment 152157 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.27 KB, created by
Nick Clemens (kidclamp)
on 2023-06-08 11:04:18 UTC
(
hide
)
Description:
Bug 33951: Set normalized_oclc in opac/opac-readingrecord.pl
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-06-08 11:04:18 UTC
Size:
1.27 KB
patch
obsolete
>From 68ab081ec9656ecc7384bb71f7e46d12cdafdcf6 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? > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > 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
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