From 8c09c5ee80d59aae134454375f260c47a6af2f16 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 Signed-off-by: Joy Nelson --- 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 d5ff64979f..28a6ab3ae4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -143,7 +143,7 @@ [% IF ( AdlibrisEnabled && normalized_isbn ) %] Adlibris cover image [% END %] - [% IF ( AmazonCoverImages ) %] + [% IF ( AmazonCoverImages && normalized_isbn) %]