Lines 85-91
sub transformMARCXML4XSLT {
Link Here
|
85 |
my ( $letter, $value ) = @$subfield; |
85 |
my ( $letter, $value ) = @$subfield; |
86 |
# Replace the field value with the authorised value *except* for MARC21/NORMARC field 942$n (suppression in opac) |
86 |
# Replace the field value with the authorised value *except* for MARC21/NORMARC field 942$n (suppression in opac) |
87 |
if ( !( $tag eq '942' && $subfield->[0] eq 'n' ) || $marcflavour eq 'UNIMARC' ) { |
87 |
if ( !( $tag eq '942' && $subfield->[0] eq 'n' ) || $marcflavour eq 'UNIMARC' ) { |
88 |
$value = GetAuthorisedValueDesc( $tag, $letter, $value, '', $tagslib ) |
88 |
$value = GetAuthorisedValues( $tag, $letter, $value, '', $tagslib ) |
89 |
if $av->{ $tag }->{ $letter }; |
89 |
if $av->{ $tag }->{ $letter }; |
90 |
} |
90 |
} |
91 |
push( @new_subfields, $letter, $value ); |
91 |
push( @new_subfields, $letter, $value ); |