[Koha-patches] [PATCH 06/17] don't discard $3 when building a record (UNIMARC specific)
paul.poulain at biblibre.com
paul.poulain at biblibre.com
Thu Dec 16 15:11:12 CET 2010
From: Paul Poulain <paul.poulain 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 2c0c63d..f416cc7 100755
--- a/cataloguing/addbiblio.pl
+++ b/cataloguing/addbiblio.pl
@@ -757,7 +757,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('3')||$field->subfield('9'));
+ next if ($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.1
More information about the Koha-patches
mailing list