Bugzilla – Attachment 179210 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.38 KB, created by
Jonathan Druart
on 2025-03-12 14:45:09 UTC
(
hide
)
Description:
Bug 38981: Directly use the opac-image link
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-03-12 14:45:09 UTC
Size:
1.38 KB
patch
obsolete
>From 29e3261d72deee629bec662078f10fa0ddd07d84 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 > >--- > 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.34.1
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