koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/misc bulkmarcimport.pl,1.8,1.9


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/misc bulkmarcimport.pl,1.8,1.9
Date: Tue, 28 Sep 2004 08:25:32 -0700

Update of /cvsroot/koha/koha/misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32328/misc

Modified Files:
        bulkmarcimport.pl 
Log Message:
Bugfix for the the problem of duplicate items : the record contains biblio & 
items.
The biblio & the items are separated.
The bug was that the item was still in the biblio (thus being added twice : as 
"biblio" and as "item")

thanks to dana for pointing the bug.

Index: bulkmarcimport.pl
===================================================================
RCS file: /cvsroot/koha/koha/misc/bulkmarcimport.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** bulkmarcimport.pl   13 Aug 2004 16:37:26 -0000      1.8
--- bulkmarcimport.pl   28 Sep 2004 15:25:29 -0000      1.9
***************
*** 125,129 ****
                $item->append_fields($field);
                push @items,$item;
!               $record->delete_field($field);
                $nbitems++;
        }
--- 125,129 ----
                $item->append_fields($field);
                push @items,$item;
!               $newRecord->delete_field($field);
                $nbitems++;
        }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]