From 7725c1f9daa604d29355513ad51a70031df6cb5c 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 (cherry picked from commit 8c09c5ee80d59aae134454375f260c47a6af2f16) Signed-off-by: Lucas Gass --- 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 035eed511b..d440da692e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -135,7 +135,7 @@ [% IF ( AdlibrisEnabled && normalized_isbn ) %] Adlibris cover image [% END %] - [% IF ( AmazonCoverImages ) %] + [% IF ( AmazonCoverImages && normalized_isbn) %]