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!
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit f77a377c93)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit ca2e551a4a)
Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
This commit is contained in:
parent
e119734445
commit
b4e9d551dc
|
|
@ -339,7 +339,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>
|
||||
|
|
@ -963,7 +963,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 %]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue