Bugzilla – Attachment 65145 Details for
Bug 18904
Advanced editor - Rancor - Add authority support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18904 - QA Followup - fix and restore subfield 2 code
Bug-18904---QA-Followup---fix-and-restore-subfield.patch (text/plain), 1.42 KB, created by
Nick Clemens (kidclamp)
on 2017-07-20 10:45:27 UTC
(
hide
)
Description:
Bug 18904 - QA Followup - fix and restore subfield 2 code
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2017-07-20 10:45:27 UTC
Size:
1.42 KB
patch
obsolete
>From 880bb1fa0a2705b4742f0d506befb5aab843fddd Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 20 Jul 2017 10:43:28 +0000 >Subject: [PATCH] Bug 18904 - QA Followup - fix and restore subfield 2 code > >I pulled it in last patch as it hasn't been working, offering this if >that funcationality should be fixed instead of removed >--- > authorities/blinddetail-biblio-search.pl | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/authorities/blinddetail-biblio-search.pl b/authorities/blinddetail-biblio-search.pl >index e96bd2b..335d670 100755 >--- a/authorities/blinddetail-biblio-search.pl >+++ b/authorities/blinddetail-biblio-search.pl >@@ -116,6 +116,13 @@ if ($authid) { > my $thes_008_11 = ''; > $thes_008_11 = substr($record->field('008')->data(), 11, 1) if $record->field('008')->data(); > $indicator2 = defined $thes_mapping{$thes_008_11} ? $thes_mapping{$thes_008_11} : $thes_008_11; >+ if ($indicator2 eq '7') { >+ if ($thes_008_11 eq 'r') { >+ push @subfield_loop, { marc_subfield => '2', marc_values => ('aat') }; >+ } elsif ($thes_008_11 eq 's') { >+ push @subfield_loop, { marc_subfield => '2', marc_values => ('sears') }; >+ } >+ } > } > if ($tag_from eq '130') { # unified title -- the special case > if ($tag_to eq '830' || $tag_to eq '240') { >-- >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 18904
:
64859
|
64860
|
65144
|
65145
|
65863
|
65864
|
65865
|
65866
|
68678
|
68679
|
68680
|
68681
|
71747
|
71748
|
71749
|
71750
|
71751
|
72920
|
73693
|
73694
|
73695
|
73696
|
73697
|
73766
|
73767
|
73768
|
73769
|
73770
|
73771
|
73851
|
73852
|
73853
|
73854
|
73855
|
73856
|
73857
|
74023
|
74055