Bugzilla – Attachment 179561 Details for
Bug 38981
Local cover images failing to load in OPAC search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38981: Directly use the opac-image link
Bug-38981-Directly-use-the-opac-image-link.patch (text/plain), 1.48 KB, created by
Lucas Gass (lukeg)
on 2025-03-20 17:52:03 UTC
(
hide
)
Description:
Bug 38981: Directly use the opac-image link
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-03-20 17:52:03 UTC
Size:
1.48 KB
patch
obsolete
>From c1884c455496648690306cc817a51dda463ab53c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 12 Mar 2025 15:44:11 +0100 >Subject: [PATCH] Bug 38981: Directly use the opac-image link > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > 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 58bfac82d6e..a83a3269994 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/cover-images.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/cover-images.inc >@@ -10,7 +10,7 @@ > [% IF ( OPACLocalCoverImages && SEARCH_RESULT.has_local_cover_image ) %] > <div class="cover-image local-coverimg"> > <a href="/cgi-bin/koha/opac-image.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]"> >- <span class="[% SEARCH_RESULT.biblionumber | html %]" id="local-thumbnail-[% SEARCH_RESULT.biblionumber | html %]" data-link="/cgi-bin/koha/opac-image.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]"></span> >+ <img src="/cgi-bin/koha/opac-image.pl?thumbnail=1&biblionumber=[% SEARCH_RESULT.biblionumber | uri %]" alt="Local cover image" /> > </a> > <div class="hint">Local cover image</div> > </div> >-- >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 38981
:
179170
|
179210
|
179431
|
179432
|
179560
| 179561