Bug 8981 - Remove Nonpublic General Note from OPAC authorities display
Currently, the MARC21 667 Nonpublic General Note field is appearing on the opac-authoritiesdetail.pl page. Since it is a nonpublic note, it makes sense to remove it from this view. This patch adds in an extra condition that checks authority records for MARC21 667 fields before displaying them in this opac screen. Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Does what it says, with no side effects Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
parent
06c7f8613b
commit
abdbad9409
|
|
@ -152,6 +152,9 @@ 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 ) {
|
||||
# tagfield 667 is a nonpublic general note in MARC21, which shouldn't be shown in the OPAC
|
||||
}
|
||||
else {
|
||||
my @subf = $field->subfields;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue