Signed-off-by: Chris Cormack <crc@liblime.com>
&TransformMarcToKohaOneField( "biblio", $field, $record, $result,
$frameworkcode );
}
+ my $sth2 = $dbh->prepare("SHOW COLUMNS from biblioitems");
$sth2->execute;
while ( ($field) = $sth2->fetchrow ) {
if ( $field eq 'notes' ) { $field = 'bnotes'; }
for ( my $i = $offset ; $i <= $times - 1 ; $i++ ) {
my $marcrecord;
$marcrecord = MARC::File::USMARC::decode( $marcresults[$i] );
-
my $oldbiblio = TransformMarcToKoha( $dbh, $marcrecord, '' );
-
# add image url if there is one
if ( $itemtypes{ $oldbiblio->{itemtype} }->{imageurl} =~ /^http:/ ) {
$oldbiblio->{imageurl} =