[Koha-patches] [PATCH] [SIGNED-OFF] Bug 6047: Remove check on subfield 3 that prevents biblios from BNF to create corresponding authorities
Stéphane Delaune
stephane.delaune at biblibre.com
Tue Apr 5 14:44:07 CEST 2011
From: Sophie Meynieux <sophie.meynieux at biblibre.com>
Signed-off-by: Stéphane Delaune <stephane.delaune at biblibre.com>
---
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
More information about the Koha-patches
mailing list