Bugzilla – Attachment 95836 Details for
Bug 22437
Subsequent authority merges in cron may cause biblios to lose authority information
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix-for-subsequent-authorities-merge
0001-fix-for-subsequent-authorities-merge.patch (text/plain), 914 bytes, created by
Pedro Amorim
on 2019-11-26 15:57:31 UTC
(
hide
)
Description:
fix-for-subsequent-authorities-merge
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2019-11-26 15:57:31 UTC
Size:
914 bytes
patch
obsolete
>From 119c8b5e7646ee566d22350965e54359eab1f1c3 Mon Sep 17 00:00:00 2001 >From: Pedro <pjamorim91@gmail.com> >Date: Tue, 26 Nov 2019 14:55:17 -0100 >Subject: [PATCH] fix for subsequent authorities merge > >--- > C4/AuthoritiesMarc.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm >index c0c42df..4937a95 100644 >--- a/C4/AuthoritiesMarc.pm >+++ b/C4/AuthoritiesMarc.pm >@@ -1414,6 +1414,8 @@ sub merge { > my $auth_tag_to_report_from = $authtypefrom ? $authtypefrom->auth_tag_to_report : ''; > my $auth_tag_to_report_to = $authtypeto ? $authtypeto->auth_tag_to_report : ''; > >+ return 0 if !@authto; >+ > my @record_to; > @record_to = $MARCto->field($auth_tag_to_report_to)->subfields() if $auth_tag_to_report_to && $MARCto && $MARCto->field($auth_tag_to_report_to); > # Exceptional: If MARCto and authtypeto exist but $auth_tag_to_report_to >-- >2.7.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 22437
:
95836
|
95848
|
102338
|
102444
|
102445
|
103298
|
103299
|
104557
|
104558
|
104559
|
104698
|
104699
|
104700