Bugzilla – Attachment 59358 Details for
Bug 17913
Merge three authority merge fixes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17913: [Follow-up] Fix duplicate $9s after merging in loose mode
Bug-17913-Follow-up-Fix-duplicate-9s-after-merging.patch (text/plain), 1.09 KB, created by
Marcel de Rooy
on 2017-01-20 12:58:30 UTC
(
hide
)
Description:
Bug 17913: [Follow-up] Fix duplicate $9s after merging in loose mode
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-01-20 12:58:30 UTC
Size:
1.09 KB
patch
obsolete
>From 6e239e8dfe531886f73b1b91465eb4482dd82482 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 20 Jan 2017 13:51:29 +0100 >Subject: [PATCH] Bug 17913: [Follow-up] Fix duplicate $9s after merging in > loose mode >Content-Type: text/plain; charset=utf-8 > >We need to add $9 to the skip_subfields hash too. Formerly, it was >added to $exclude as well. >Thanks, Julian, for catching this one. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > C4/AuthoritiesMarc.pm | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm >index e3f10f1..0c410a2 100644 >--- a/C4/AuthoritiesMarc.pm >+++ b/C4/AuthoritiesMarc.pm >@@ -1471,6 +1471,9 @@ sub merge { > # We only need it in loose merge mode; replaces the former $exclude > ? {} > : { map { ( $_->[0], 1 ); } ( @record_from, @record_to ) }; >+ # And we need to add $9 in order not to duplicate >+ $skip_subfields->{9} = 1 if !$overwrite; >+ > foreach my $marcrecord(@reccache){ > my $update = 0; > foreach my $tagfield (@$tags_using_authtype) { >-- >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 17913
:
59009
|
59010
|
59016
|
59017
|
59065
|
59066
|
59073
|
59078
|
59079
|
59080
|
59081
|
59082
|
59083
|
59084
|
59085
|
59089
|
59090
|
59102
|
59103
|
59104
|
59105
|
59106
|
59107
|
59108
|
59109
|
59110
|
59325
|
59326
|
59327
|
59328
|
59329
|
59330
|
59331
|
59332
|
59333
|
59352
|
59358
|
59360
|
59361
|
59362
|
59363
|
59364
|
59365
|
59366
|
59367
|
59368
|
59369
|
59370
|
59411
|
59412
|
59413
|
60042
|
60043
|
60341
|
60342