Bugzilla – Attachment 137860 Details for
Bug 31185
Link authorities automatically doesn't detect duplicate authorities
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Detect duplicate authorities using Link authorities automatically
0001-Bug-31185-Link-authorities-automatically-doesn-t-det.patch (text/plain), 1.40 KB, created by
Adolfo RodrÃguez Taboada
on 2022-07-19 11:13:57 UTC
(
hide
)
Description:
Detect duplicate authorities using Link authorities automatically
Filename:
MIME Type:
Creator:
Adolfo RodrÃguez Taboada
Created:
2022-07-19 11:13:57 UTC
Size:
1.40 KB
patch
obsolete
>From cf890221fe5d43a5249612789ebbeaf8dae79880 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Adolfo=20Rodr=C3=ADguez?= <adolfo.rodriguez@xercode.es> >Date: Tue, 19 Jul 2022 13:04:54 +0200 >Subject: [PATCH 1/1] Bug 31185 - Link authorities automatically doesn't detect > duplicate authorities > >--- > C4/Biblio.pm | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/C4/Biblio.pm b/C4/Biblio.pm >index 41346511e7..70cf4a621f 100644 >--- a/C4/Biblio.pm >+++ b/C4/Biblio.pm >@@ -751,6 +751,10 @@ sub LinkBibHeadingsToAuthorities { > push(@{$results{'details'}}, { tag => $field->tag(), authid => undef, status => 'NONE_FOUND', auth_type => $heading->auth_type(), tag_to_report => $authority_type->auth_tag_to_report}) if $verbose; > } > } >+ elsif ( $match_count > 1 ) { >+ $results{'unlinked'}->{ $heading->display_form() }++; >+ push(@{$results{'details'}}, { tag => $field->tag(), authid => undef, status => 'MULTIPLE_MATCH', auth_type => $heading->auth_type(), tag_to_report => $authority_type->auth_tag_to_report}) if $verbose; >+ } > else { > $results{'unlinked'}->{ $heading->display_form() }++; > push(@{$results{'details'}}, { tag => $field->tag(), authid => undef, status => 'NONE_FOUND', auth_type => $heading->auth_type(), tag_to_report => $authority_type->auth_tag_to_report}) if $verbose; >-- >2.30.2 >
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 31185
:
137860
|
138518
|
139857
|
150610
|
150762
|
152507
|
152508