Bugzilla – Attachment 68903 Details for
Bug 19537
Authorities search doesn't correctly populate subfield $2 source of heading
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19537: Correct addition of source subfield from authorities
Bug-19537-Correct-addition-of-source-subfield-from.patch (text/plain), 1.59 KB, created by
Marcel de Rooy
on 2017-11-03 07:27:28 UTC
(
hide
)
Description:
Bug 19537: Correct addition of source subfield from authorities
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-11-03 07:27:28 UTC
Size:
1.59 KB
patch
obsolete
>From 25a2119d57767be9abcf3b79b7d26b63fc78450d Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 27 Oct 2017 10:43:03 +0000 >Subject: [PATCH] Bug 19537: Correct addition of source subfield from > authorities >Content-Type: text/plain; charset=utf-8 > >To test: >1 - Find or create a subject authority >2 - Define 008/11 as 's' or 'r' >3 - Add 2nd indicator '7' to main heading >4 - Open or create a bibliographic record >5 - Link to the authority created above >6 - Subfield $2 is not set >7 - Apply patch >8 - Repeat linking, subfield $2 should be set > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > authorities/blinddetail-biblio-search.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/authorities/blinddetail-biblio-search.pl b/authorities/blinddetail-biblio-search.pl >index 33b7ef0..838e4ba 100755 >--- a/authorities/blinddetail-biblio-search.pl >+++ b/authorities/blinddetail-biblio-search.pl >@@ -122,9 +122,9 @@ if ($authid) { > $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') { >- $subfields{'2'} = ['aat']; >+ push @subfield_loop, { marc_subfield => '2', marc_values => ('aat') }; > } elsif ($thes_008_11 eq 's') { >- $subfields{'2'} = ['sears']; >+ push @subfield_loop, { marc_subfield => '2', marc_values => ('sears') }; > } > } > } >-- >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 19537
:
68677
|
68809
| 68903 |
68904
|
68905