Bugzilla – Attachment 106258 Details for
Bug 25869
Coce images not loading for lists (virtualshelves)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25869: Fix Coce display for lists
Bug-25869-Fix-Coce-display-for-lists.patch (text/plain), 2.32 KB, created by
Nick Clemens
on 2020-06-24 16:19:37 UTC
(
hide
)
Description:
Bug 25869: Fix Coce display for lists
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2020-06-24 16:19:37 UTC
Size:
2.32 KB
patch
obsolete
>From 1f785e8090495e658e383d1e85a2ebccf937dba4 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 24 Jun 2020 16:17:19 +0000 >Subject: [PATCH] Bug 25869: Fix Coce display for lists > >To test: >1 - Enable Coce for Opac > CoceHost: https://coce.bywatersolutions.com > CoceProviders: Select all > OpacCoce: Enable >2 - Do a search on the Opac, confirm you see some covers >3 - Add some of the items with covers to a public list >4 - View the public list >5 - Note no covers display >6 - Apply patch >7 - Success! >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >index e28769df43..05c9b607d2 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >@@ -369,7 +369,7 @@ > [% END %] > [% END %] > >- [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %] >+ [% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %] > [% coce_id = itemsloo.normalized_ean || itemsloo.normalized_isbn %] > [% IF ( coce_id ) %] > <span title="[% img_title | html %]" class="[% coce_id | html %]" id="coce-thumbnail[% loop.count | html %]"></span> >@@ -947,7 +947,7 @@ $(function() { > [% IF OpenLibraryCovers %]KOHA.OpenLibrary.GetCoverFromIsbn();[% END %] > [% IF OPACLocalCoverImages %]KOHA.LocalCover.GetCoverFromBibnumber(false);[% END %] > [% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %] >- [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %] >+ [% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %] > KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]'); > [% END %] > >-- >2.11.0
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 25869
:
106258
|
106259
|
106616