bug 5579: tweaks to bulkmarcimport.pl
authorGalen Charlton <gmcharlt@gmail.com>
Wed, 20 Apr 2011 21:34:47 +0000 (17:34 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 20 Apr 2011 22:05:02 +0000 (10:05 +1200)
commitce849240ad67131ead68f4339f49e861c6719882
tree1f028fefbba9c26766ac5ab8e49b24d3142ecc82
parent0a27e64a5b1b3f1bd4248c3d63a56952fcd92788
bug 5579: tweaks to bulkmarcimport.pl

Fixes bug where a bib record imported by bulkmarcimport.pl
could become unindexable by ensuring that ModBiblioMarc()
is always called by bulkmarcimport.pl to finalize saving the
bib record (as it was initially created by AddBiblio with the
defer_marc_save option).

Also introduces a utility routine, C4::Biblio::_strip_item_fields.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Biblio.pm
misc/migration_tools/bulkmarcimport.pl