Bugzilla – Attachment 50885 Details for
Bug 14377
Indicate that a record is suppressed in staff client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14377: [QA Follow-up] Correct typo and comment
Bug-14377-QA-Follow-up-Correct-typo-and-comment.patch (text/plain), 1.92 KB, created by
Marcel de Rooy
on 2016-04-28 09:34:07 UTC
(
hide
)
Description:
Bug 14377: [QA Follow-up] Correct typo and comment
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-04-28 09:34:07 UTC
Size:
1.92 KB
patch
obsolete
>From 6cc0e953da656dff493e2110cde08c9a7e19b4f8 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 28 Apr 2016 10:19:16 +0200 >Subject: [PATCH] Bug 14377: [QA Follow-up] Correct typo and comment >Content-Type: text/plain; charset=utf-8 > >[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 <m.de.rooy@rijksmuseum.nl> >--- > C4/XSLT.pm | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > >diff --git a/C4/XSLT.pm b/C4/XSLT.pm >index 22c5e6f..7ca4f0d 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); >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14377
:
42424
|
42436
|
42709
|
43026
|
45564
|
45565
|
45566
|
45568
|
46900
|
46993
|
48657
|
48658
|
48659
|
48660
|
48661
|
49718
|
49719
|
49720
|
49721
|
49722
|
50360
|
50361
|
50720
|
50721
|
50839
|
50842
|
50843
|
50844
|
50881
|
50882
|
50883
|
50884
| 50885 |
50987