Lines 83-90
sub transformMARCXML4XSLT {
Link Here
|
83 |
my @new_subfields = (); |
83 |
my @new_subfields = (); |
84 |
for my $subfield ( $field->subfields() ) { |
84 |
for my $subfield ( $field->subfields() ) { |
85 |
my ( $letter, $value ) = @$subfield; |
85 |
my ( $letter, $value ) = @$subfield; |
86 |
# Replace the field value with the authorised value *except* for 942$n ( record supression ) |
86 |
# Replace the field value with the authorised value *except* for MARC21/NORMARC field 942$n (suppression in opac) |
87 |
# but don't replace the field if we are using UNIMARC |
|
|
88 |
if ( !( $tag eq '942' && $subfield eq 'n' ) || $marcflavour eq 'UNIMARC' ) { |
87 |
if ( !( $tag eq '942' && $subfield eq 'n' ) || $marcflavour eq 'UNIMARC' ) { |
89 |
$value = GetAuthorisedValueDesc( $tag, $letter, $value, '', $tagslib ) |
88 |
$value = GetAuthorisedValueDesc( $tag, $letter, $value, '', $tagslib ) |
90 |
if $av->{ $tag }->{ $letter }; |
89 |
if $av->{ $tag }->{ $letter }; |
Lines 211-217
sub XSLTParse4Display {
Link Here
|
211 |
UseControlNumber IntranetBiblioDefaultView BiblioDefaultView |
210 |
UseControlNumber IntranetBiblioDefaultView BiblioDefaultView |
212 |
OPACItemLocation DisplayIconsXSLT |
211 |
OPACItemLocation DisplayIconsXSLT |
213 |
AlternateHoldingsField AlternateHoldingsSeparator |
212 |
AlternateHoldingsField AlternateHoldingsSeparator |
214 |
TrackClicks opacthemes IdRefi OpacSuppression / ) |
213 |
TrackClicks opacthemes IdRef OpacSuppression / ) |
215 |
{ |
214 |
{ |
216 |
my $sp = C4::Context->preference( $syspref ); |
215 |
my $sp = C4::Context->preference( $syspref ); |
217 |
next unless defined($sp); |
216 |
next unless defined($sp); |
218 |
- |
|
|