Bugzilla – Attachment 50842 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 Followup] - Fix conditional
Bug-14377-QA-Followup---Fix-conditional.patch (text/plain), 1.02 KB, created by
Kyle M Hall (khall)
on 2016-04-27 17:38:39 UTC
(
hide
)
Description:
Bug 14377 [QA Followup] - Fix conditional
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2016-04-27 17:38:39 UTC
Size:
1.02 KB
patch
obsolete
>From 2b31c6a3f80f892a4d1c617c395b538b617b9100 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 27 Apr 2016 17:36:29 +0000 >Subject: [PATCH] Bug 14377 [QA Followup] - Fix conditional > >--- > C4/XSLT.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/XSLT.pm b/C4/XSLT.pm >index 1ee5488..236d810 100644 >--- a/C4/XSLT.pm >+++ b/C4/XSLT.pm >@@ -84,7 +84,7 @@ sub transformMARCXML4XSLT { > for my $subfield ( $field->subfields() ) { > my ( $letter, $value ) = @$subfield; > # Replace the field value with the authorised value *except* for 942$n ( record supression ) >- if ( $tag ne '942' && $subfield ne 'n' && $marcflavour ne 'UNIMARC' ) { >+ unless ( ( $tag eq '942' && $subfield eq 'n' ) || $marcflavour eq 'UNIMARC' ) { > $value = GetAuthorisedValueDesc( $tag, $letter, $value, '', $tagslib ) > if $av->{ $tag }->{ $letter }; > } >-- >2.1.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