[Top][All Lists]
[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++;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/misc bulkmarcimport.pl,1.8,1.9,
Paul POULAIN <=
- Prev by Date:
[Koha-cvs] CVS: koha/value_builder unimarc_field_210c.pl,1.5,1.6 unimarc_field_225a.pl,1.7,1.8
- Next by Date:
[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/css/en opac-searchresults.tmpl,1.16,1.17
- Previous by thread:
[Koha-cvs] CVS: koha/value_builder unimarc_field_210c.pl,1.5,1.6 unimarc_field_225a.pl,1.7,1.8
- Next by thread:
[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/css/en opac-searchresults.tmpl,1.16,1.17
- Index(es):