Bugzilla – Attachment 177297 Details for
Bug 38985
Syndetics covers don't show on OPAC result pages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38985: Add correct check before adding Syndetics covers
Bug-38985-Add-correct-check-before-adding-Syndetic.patch (text/plain), 2.15 KB, created by
PTFS Europe Sandboxes
on 2025-01-28 21:03:42 UTC
(
hide
)
Description:
Bug 38985: Add correct check before adding Syndetics covers
Filename:
MIME Type:
Creator:
PTFS Europe Sandboxes
Created:
2025-01-28 21:03:42 UTC
Size:
2.15 KB
patch
obsolete
>From a100af7ccd16299441e2c44a8f5a122672fa2ada Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >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 <barbara.johnson@bedfordtx.gov> >--- > 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 dbff05a37a..7f642ab3e3 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 ) %] > <div class="cover-image syndetics-coverimg"> > <a href="https://secure.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn | uri %]/[% SyndeticsCoverImageSize | uri %].GIF&client=[% SyndeticsClientCode | uri %]&type=xw10&upc=[% normalized_upc | uri %]&oclc=[% normalized_oclc | uri %]"> > <img src="https://secure.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn | uri %]/[% SyndeticsCoverImageSize | uri %].GIF&client=[% SyndeticsClientCode | uri %]&type=xw10&upc=[% normalized_upc | uri %]&oclc=[% normalized_oclc | uri %]" id="syndetics-thumbnail-[% SEARCH_RESULT.biblionumber | html %]" alt="Syndetics cover image" /> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38985
:
177293
|
177297
|
177298
|
177326
|
177327
|
177328
|
177329