reintroducing an important line in TransformeMarcToKoha
Signed-off-by: Chris Cormack <crc@liblime.com>
This commit is contained in:
parent
55ac115e61
commit
92f2909d57
|
|
@ -2298,6 +2298,7 @@ sub TransformMarcToKoha {
|
|||
&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'; }
|
||||
|
|
|
|||
|
|
@ -860,9 +860,7 @@ sub searchResults {
|
|||
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} =
|
||||
|
|
|
|||
Loading…
Reference in New Issue