From f04298c4ff305940ebaadad5710138d5a6ae7a1c Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 28 Jan 2025 20:20:14 +0000 Subject: [PATCH] Bug 38985: Add correct check before adding Syndetics covers To test: 1. Enable Syndetics. 2. Do a search that should turn up Syndetics. ( In k-t-d a search of 'ee' works for me. Turning up biblionumber 55 ) 3. Visit the record detail page and notice the Syndetics cover loads. 4. APPLY PATCH 5. Try again, this time the Syndetics covers should load. 6. Since these are now in an include make sure Syndetics covers load on opac results, opac detail, staff results, and staff detail. 7. Try with Syndetics and other cover image services enabled. Signed-off-by: Barbara Johnson Signed-off-by: Lucas Gass --- koha-tmpl/opac-tmpl/bootstrap/en/includes/cover-images.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/cover-images.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/cover-images.inc index dbff05a37ae..7f642ab3e39 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/cover-images.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/cover-images.inc @@ -20,7 +20,7 @@ [% END %] [% IF ( SyndeticsCoverImages ) %] - [% IF ( content_identifier_exists ) %] + [% IF ( SEARCH_RESULT.normalized_isbn || SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_oclc ) %]