From c6174e440a29bac41a7cf89bfa5a22725f5caea2 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 --- 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 6ef518489b..8b4be7c6e3 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) %]