Bugzilla – Attachment 13777 Details for
Bug 8981
Remove Nonpublic General Note from OPAC authorities display
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8981 follow-up: case
Bug-8981-follow-up-case.patch (text/plain), 1.57 KB, created by
Paul Poulain
on 2012-11-29 16:38:54 UTC
(
hide
)
Description:
Bug 8981 follow-up: case
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2012-11-29 16:38:54 UTC
Size:
1.57 KB
patch
obsolete
>From 6d02cb4c59c51cf0740bd5e02414b12487b694da Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >Date: Thu, 29 Nov 2012 17:38:09 +0100 >Subject: [PATCH] Bug 8981 follow-up: case > >While QAing your patch, I saw you were writting "MarcFlavour", it should have been "marcflavour" > >Will work with the UC, but let's be consistent. > >This patch fixes another MarcFlavour just a few lines before I spotted by chance >--- > opac/opac-authoritiesdetail.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/opac/opac-authoritiesdetail.pl b/opac/opac-authoritiesdetail.pl >index 86ecb23..3e17cf1 100755 >--- a/opac/opac-authoritiesdetail.pl >+++ b/opac/opac-authoritiesdetail.pl >@@ -122,7 +122,7 @@ if ($show_marc) { > my @subfields_data; > > # skip UNIMARC fields <200, they are useless for a patron >- next if C4::Context->preference('MarcFlavour') eq 'UNIMARC' && $field->tag() <200; >+ next if C4::Context->preference('marcflavour') eq 'UNIMARC' && $field->tag() <200; > > # if tag <10, there's no subfield, use the "@" trick > if ( $field->tag() < 10 ) { >@@ -134,7 +134,7 @@ if ($show_marc) { > $subfield_data{marc_tag} = $field->tag(); > push( @subfields_data, \%subfield_data ); > } >- elsif ( C4::Context->preference('MarcFlavour') eq 'MARC21' && $field->tag() eq 667 ) { >+ elsif ( C4::Context->preference('marcflavour') eq 'MARC21' && $field->tag() eq 667 ) { > # tagfield 667 is a nonpublic general note in MARC21, which shouldn't be shown in the OPAC > } > else { >-- >1.7.9.5
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 8981
:
13105
|
13239
|
13776
| 13777