From a348fc18e414d3d68916ae863c18344233eafdc9 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 27 Mar 2020 20:40:30 +0000 Subject: [PATCH] Bug 25007: Check for normaalized ISBN when building Amazon link TO RECREATE: -Have Amazon images turned on and local images too. -Have a record with a local cover image -Make sure the record has no ISBN in 020 field. -Load detail page of that record and see that the local cover images is not on the right hand side like it should be but forced underneath 'catalogue_detail_biblio' in an odd spot. -Apply patch and reload page -The image should be back in its normal spot Signed-off-by: David Nind Signed-off-by: Owen Leonard Signed-off-by: David Nind Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index a477bb46fe..2b5fb56200 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -144,7 +144,7 @@ [% IF ( AdlibrisEnabled && normalized_isbn ) %] Adlibris cover image [% END %] - [% IF ( AmazonCoverImages ) %] + [% IF ( AmazonCoverImages && normalized_isbn) %]