Lines 979-985
sub custom_cover_image_url {
Link Here
|
979 |
$url =~ s|{isbn}|$isbn|g; |
979 |
$url =~ s|{isbn}|$isbn|g; |
980 |
} |
980 |
} |
981 |
if ( $url =~ m|{normalized_isbn}| ) { |
981 |
if ( $url =~ m|{normalized_isbn}| ) { |
982 |
my $normalized_isbn = C4::Koha::GetNormalizedISBN($self->biblioitem->isbn); |
982 |
my $normalized_isbn = $self->normalized_isbn; |
983 |
return unless $normalized_isbn; |
983 |
return unless $normalized_isbn; |
984 |
$url =~ s|{normalized_isbn}|$normalized_isbn|g; |
984 |
$url =~ s|{normalized_isbn}|$normalized_isbn|g; |
985 |
} |
985 |
} |
Lines 1249-1254
sub get_marc_authors {
Link Here
|
1249 |
return [@first_authors, @other_authors]; |
1249 |
return [@first_authors, @other_authors]; |
1250 |
} |
1250 |
} |
1251 |
|
1251 |
|
|
|
1252 |
=head3 normalized_isbn |
1253 |
|
1254 |
my $normalized_isbn = $biblio->normalized_isbn |
1255 |
|
1256 |
Normalizes and returns the first valid ISBN found in the record. |
1257 |
ISBN13 are converted into ISBN10. This is required to get some book cover images. |
1258 |
|
1259 |
=cut |
1260 |
|
1261 |
sub normalized_isbn { |
1262 |
my ( $self) = @_; |
1263 |
return C4::Koha::GetNormalizedISBN($self->biblioitem->isbn); |
1264 |
} |
1252 |
|
1265 |
|
1253 |
=head3 to_api |
1266 |
=head3 to_api |
1254 |
|
1267 |
|
1255 |
- |
|
|