Bugzilla – Attachment 175329 Details for
Bug 38657
Image obscured by the search results toolbar when previewing cover images from OPAC search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38657: Prevent cover image from being from being obscured by the search results toolbar
Bug-38657-Prevent-cover-image-from-being-from-bein.patch (text/plain), 2.09 KB, created by
Owen Leonard
on 2024-12-09 18:53:38 UTC
(
hide
)
Description:
Bug 38657: Prevent cover image from being from being obscured by the search results toolbar
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-12-09 18:53:38 UTC
Size:
2.09 KB
patch
obsolete
>From afdba8e340edf580055fa8e1d4811e682aa8a347 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 9 Dec 2024 18:44:18 +0000 >Subject: [PATCH] Bug 38657: Prevent cover image from being from being obscured > by the search results toolbar > >On the OPAC search results page we're including the Chocolat image >viewer CSS after our global CSS file. This means that rules which >are intended to override the default Chocolat CSS aren't working. The >fix is to move the line which includes the Chocolat CSS. > >To test, apply the patch and enable the LocalCoverImages and >OPACLocalCoverImages system preferences. > >- If necessary, add a local cover image to a bibliographic record. >- Go to the OPAC and perform a search which will return multiple > record including the record with the cover image. >- Click the cover image to trigger the image viewer. >- The image viewer should not appear to be "behind" the search results > toolbar. > >Sponsored-by: Athens County Public Libraries >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >index a7f87af6d3..0da9fedda5 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -46,11 +46,11 @@ > [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog > </title> > <meta name="robots" content="noindex"> >+[% Asset.css("lib/Chocolat/css/chocolat.css") | $raw %] > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %][% END %] > > <link rel="alternate" type="application/rss+xml" title="[% LibraryName | html %] Search RSS feed" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&count=[% countrss |uri %]&sort_by=acqdate_dsc&format=rss" /> >-[% Asset.css("lib/Chocolat/css/chocolat.css") | $raw %] > </head> > [% INCLUDE 'bodytag.inc' bodyid='results' bodyclass='scrollto' %] > [% INCLUDE 'masthead.inc' %] >-- >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 38657
:
175328
|
175329
|
175330
|
175590