Bugzilla – Attachment 3633 Details for
Bug 6047
Authority not added if subfield 3 in biblio
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove check on subfield 3 that prevents biblios from BNF to create corresponding authorities
0001-Bug-6047-Remove-check-on-subfield-3-that-prevents-bi.patch (text/plain), 1013 bytes, created by
Sophie MEYNIEUX
on 2011-04-04 14:22:50 UTC
(
hide
)
Description:
Remove check on subfield 3 that prevents biblios from BNF to create corresponding authorities
Filename:
MIME Type:
Creator:
Sophie MEYNIEUX
Created:
2011-04-04 14:22:50 UTC
Size:
1013 bytes
patch
obsolete
>From 39125bb26738acf1dbdb0e4a4b89684dde8aae43 Mon Sep 17 00:00:00 2001 >From: Sophie Meynieux <sophie.meynieux@biblibre.com> >Date: Mon, 4 Apr 2011 16:05:40 +0200 >Subject: [PATCH] Bug 6047: Remove check on subfield 3 that prevents biblios from BNF to create corresponding authorities > >--- > cataloguing/addbiblio.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl >index 60f8e15..038878f 100755 >--- a/cataloguing/addbiblio.pl >+++ b/cataloguing/addbiblio.pl >@@ -758,7 +758,7 @@ AND (authtypecode IS NOT NULL AND authtypecode<>\"\")|); > my ($countcreated,$countlinked); > while (my $data=$query->fetchrow_hashref){ > foreach my $field ($record->field($data->{tagfield})){ >- next if ($field->subfield('9')); >+ next if ($field->subfield('3') || $field->subfield('9')); > # No authorities id in the tag. > # Search if there is any authorities to link to. > my $query='at='.$data->{authtypecode}.' '; >-- >1.7.0.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 6047
: 3633