[Koha-cvs] CVS: koha/misc bulkmarcimport.pl,1.8,1.9
Paul POULAIN
tipaul at users.sourceforge.net
Tue Sep 28 17:25:32 CEST 2004
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++;
}
More information about the Koha-cvs
mailing list