Format isbn (remove dashes) so that images from amazon can appear.
----------------------------------------------------------------------
This commit is contained in:
parent
6b95b7d9dc
commit
b98d2ef9fd
|
|
@ -60,6 +60,10 @@ $template->param(norequests => $norequests);
|
|||
|
||||
## get notes and subjects from MARC record
|
||||
my $marc = C4::Context->preference("marc");
|
||||
|
||||
#preformat isbn for amazon content
|
||||
$dat->{'isbn'} =~ s|-||g;
|
||||
|
||||
my @results = ($dat,);
|
||||
if (C4::Boolean::true_p($marc)) {
|
||||
my $dbh = C4::Context->dbh;
|
||||
|
|
|
|||
Loading…
Reference in New Issue