Chris(es),
It is indeed spectacular
Unfortunately, it is now missing all the item information. So it still needs to call C4::Biblio::EmbedItemsInMarcBiblio($record, $biblionumber) if ($embeditems);
Can you test it with that ?
The problem with this is that it won't handle large records (serials with lots of items most spectacularly). Using this would require us to access item data directly, rather than embedding it.
One other thought: Won't $record = MARC::Record::new_from_usmarc( $row->{marc} ) choke on normarc, unimarc, and friends?
No, new_from_usmarc isn't well-named. It just translates from MARC blobs. Regards, Jared -- Jared Camins-Esakov Bibliographer, C & P Bibliography Services, LLC (phone) +1 (917) 727-3445 (e-mail) jcamins@cpbibliography.com (web) http://www.cpbibliography.com/