Bug 5699: don't discard $3 when building a record (UNIMARC specific)
authorPaul Poulain <paul.poulain@biblibre.com>
Wed, 15 Dec 2010 19:37:15 +0000 (20:37 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 7 Feb 2011 08:30:02 +0000 (21:30 +1300)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
cataloguing/addbiblio.pl

index 2c0c63d..f416cc7 100755 (executable)
@@ -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}.' ';