From 71ac88a9d5d163a8ad921095bea71fa853b80f93 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 28 Apr 2016 10:19:16 +0200 Subject: [PATCH] Bug 14377: [QA Follow-up] Correct typo and comment [1] Remove a vim inserted i from XSLT.pm: IdRefi => IdRef. [2] The comment about UNIMARC is somewhat confusing. Rephrased it. Signed-off-by: Marcel de Rooy Signed-off-by: Kyle M Hall --- C4/XSLT.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/C4/XSLT.pm b/C4/XSLT.pm index 22c5e6f788..7ca4f0db74 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -83,8 +83,7 @@ sub transformMARCXML4XSLT { my @new_subfields = (); for my $subfield ( $field->subfields() ) { my ( $letter, $value ) = @$subfield; - # Replace the field value with the authorised value *except* for 942$n ( record supression ) - # but don't replace the field if we are using UNIMARC + # Replace the field value with the authorised value *except* for MARC21/NORMARC field 942$n (suppression in opac) if ( !( $tag eq '942' && $subfield eq 'n' ) || $marcflavour eq 'UNIMARC' ) { $value = GetAuthorisedValueDesc( $tag, $letter, $value, '', $tagslib ) if $av->{ $tag }->{ $letter }; @@ -211,7 +210,7 @@ sub XSLTParse4Display { UseControlNumber IntranetBiblioDefaultView BiblioDefaultView OPACItemLocation DisplayIconsXSLT AlternateHoldingsField AlternateHoldingsSeparator - TrackClicks opacthemes IdRefi OpacSuppression / ) + TrackClicks opacthemes IdRef OpacSuppression / ) { my $sp = C4::Context->preference( $syspref ); next unless defined($sp); -- 2.39.5