[Koha-patches] [PATCH] Bug 5699: don't discard $3 when building a record (UNIMARC specific)

Chris Cormack chrisc at catalyst.net.nz
Mon Feb 7 09:28:33 CET 2011


From: Paul Poulain <paul.poulain at biblibre.com>

Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
---
 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