From 39125bb26738acf1dbdb0e4a4b89684dde8aae43 Mon Sep 17 00:00:00 2001 From: Sophie Meynieux 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