Bugzilla – Attachment 182035 Details for
Bug 39582
Syndetics covers don't show on OPAC result pages when identifier is not ISBN
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39582: Syndetics support for UPC and OCLC numbers on OPAC results page
Bug-39582-Syndetics-support-for-UPC-and-OCLC-numbe.patch (text/plain), 2.79 KB, created by
Brendan Lawlor
on 2025-05-07 16:26:11 UTC
(
hide
)
Description:
Bug 39582: Syndetics support for UPC and OCLC numbers on OPAC results page
Filename:
MIME Type:
Creator:
Brendan Lawlor
Created:
2025-05-07 16:26:11 UTC
Size:
2.79 KB
patch
obsolete
>From 06342748ce764c1e2185b31a76da340482dd36d7 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 30 Apr 2025 15:58:30 +0000 >Subject: [PATCH] Bug 39582: Syndetics support for UPC and OCLC numbers on OPAC > results page > >To test: >1. Enable Syndetics >2. Have a record with an 024 and 1st indicator. >3. Do a search to return the record from step 3. >4. The image does not display. >5. APPLY PATCH >6. Try step 3 again, this time the cover image should display properly on the OPAC results page. > >Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> >Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/cover-images.inc | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >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 a83a326999..be2953a45f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/cover-images.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/cover-images.inc >@@ -31,13 +31,13 @@ > [% END %] > > [% IF ( SyndeticsCoverImages ) %] >- [% IF ( SEARCH_RESULT.normalized_isbn ) %] >+ [% 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 %]" >+ href="https://secure.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn | uri %]/[% SyndeticsCoverImageSize | uri %].GIF&client=[% SyndeticsClientCode | uri %]&type=xw10&upc=[% SEARCH_RESULT.normalized_upc | uri %]&oclc=[% SEARCH_RESULT.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 %]" >+ src="https://secure.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn | uri %]/[% SyndeticsCoverImageSize | uri %].GIF&client=[% SyndeticsClientCode | uri %]&type=xw10&upc=[% SEARCH_RESULT.normalized_upc | uri %]&oclc=[% SEARCH_RESULT.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 39582
:
181719
|
181721
| 182035