From 666b0d94338894055cc71e97f97b625c04704604 Mon Sep 17 00:00:00 2001 From: Sophie Meynieux Date: Tue, 5 Apr 2011 14:44:07 +0200 Subject: [PATCH] Bug 6047: Remove check on subfield 3 that prevents biblios from BNF to create corresponding authorities MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Delaune Signed-off-by: Chris Cormack (cherry picked from commit 96f054e90d4a582b13f1f6d2922b4ae99999a23d) Signed-off-by: Chris Nighswonger --- cataloguing/addbiblio.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl index abfdc1f401..9e95ade70a 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}.' '; -- 2.39.5