Bugzilla – Attachment 70186 Details for
Bug 19534
Adding collection code attribute to cover image div
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug [19534] - [Adding collection code attribute to cover image div] Adds collection code value to cover image class, so specific collection code icons can be assigned to search results
Bug-19534---Adding-collection-code-attribute-to-co.patch (text/plain), 1.81 KB, created by
Michael Cabus
on 2017-12-28 14:33:28 UTC
(
hide
)
Description:
Bug [19534] - [Adding collection code attribute to cover image div] Adds collection code value to cover image class, so specific collection code icons can be assigned to search results
Filename:
MIME Type:
Creator:
Michael Cabus
Created:
2017-12-28 14:33:28 UTC
Size:
1.81 KB
patch
obsolete
>From 7d38519b8d31b1bdc45898bc1244e47a5f632bc1 Mon Sep 17 00:00:00 2001 >From: Michael Andrew Cabus <michael@bywatersolutons.com> >Date: Thu, 28 Dec 2017 02:38:59 +0000 >Subject: [PATCH] Bug [19534] - [Adding collection code attribute to cover > image div] Adds collection code value to cover image class, so specific > collection code icons can be assigned to search results > >Test plan > >1.) Do a search on OPAC >2.) Inspect element to confirm collection code is not present >3.) Apply patch >4.) Do a search on OPAC to confirm collection code is present as a class >--- > 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 a5a7c70..5ea0dc4 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -222,7 +222,7 @@ > > [% # Cell 4: Search result details and controls %] > <td class="bibliocol"> >- <div class="coverimages itemtype_[% SEARCH_RESULT.itemtype %]"> >+ <div class="coverimages itemtype_[% SEARCH_RESULT.itemtype %] ccode_[% SEARCH_RESULT.ccode %]"> > <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]"> > [% IF ( OPACLocalCoverImages ) %] > <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></span> >-- >2.1.4
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 19534
: 70186