View | Details | Raw Unified | Return to bug 8981
Collapse All | Expand All

(-)a/opac/opac-authoritiesdetail.pl (-3 / +2 lines)
Lines 122-128 if ($show_marc) { Link Here
122
        my @subfields_data;
122
        my @subfields_data;
123
123
124
# skip UNIMARC fields <200, they are useless for a patron
124
# skip UNIMARC fields <200, they are useless for a patron
125
        next if C4::Context->preference('MarcFlavour') eq 'UNIMARC' && $field->tag() <200;
125
        next if C4::Context->preference('marcflavour') eq 'UNIMARC' && $field->tag() <200;
126
126
127
# if tag <10, there's no subfield, use the "@" trick
127
# if tag <10, there's no subfield, use the "@" trick
128
        if ( $field->tag() < 10 ) {
128
        if ( $field->tag() < 10 ) {
Lines 134-140 if ($show_marc) { Link Here
134
            $subfield_data{marc_tag}      = $field->tag();
134
            $subfield_data{marc_tag}      = $field->tag();
135
            push( @subfields_data, \%subfield_data );
135
            push( @subfields_data, \%subfield_data );
136
        }
136
        }
137
        elsif ( C4::Context->preference('MarcFlavour') eq 'MARC21' && $field->tag() eq 667 ) {
137
        elsif ( C4::Context->preference('marcflavour') eq 'MARC21' && $field->tag() eq 667 ) {
138
            # tagfield 667 is a nonpublic general note in MARC21, which shouldn't be shown in the OPAC
138
            # tagfield 667 is a nonpublic general note in MARC21, which shouldn't be shown in the OPAC
139
        }
139
        }
140
        else {
140
        else {
141
- 

Return to bug 8981