Bug 8981 - Remove Nonpublic General Note from OPAC authorities display
[koha.git] / opac / opac-authoritiesdetail.pl
index 195e244..86ecb23 100755 (executable)
@@ -134,6 +134,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;