Lines 691-697
for (my $i=0;$i<@servers;$i++) {
Link Here
|
691 |
|
691 |
|
692 |
if (C4::Context->preference('COinSinOPACResults')) { |
692 |
if (C4::Context->preference('COinSinOPACResults')) { |
693 |
my $biblio = Koha::Biblios->find( $res->{'biblionumber'} ); |
693 |
my $biblio = Koha::Biblios->find( $res->{'biblionumber'} ); |
694 |
$res->{coins} = $biblio ? $biblio->get_coins : q{}; # FIXME This should be moved at the beginning of the @newresults loop |
694 |
# Catch the exception as Koha::Biblio::Metadata->record can explode if the MARCXML is invalid |
|
|
695 |
$res->{coins} = $biblio ? eval {$biblio->get_coins} : q{}; # FIXME This should be moved at the beginning of the @newresults loop |
695 |
} |
696 |
} |
696 |
if ( C4::Context->preference( "Babeltheque" ) and $res->{normalized_isbn} ) { |
697 |
if ( C4::Context->preference( "Babeltheque" ) and $res->{normalized_isbn} ) { |
697 |
if( my $isbn = Business::ISBN->new( $res->{normalized_isbn} ) ) { |
698 |
if( my $isbn = Business::ISBN->new( $res->{normalized_isbn} ) ) { |
698 |
- |
|
|