http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9580 --- Comment #43 from M. Tompsett <mtompset@hotmail.com> --- (In reply to Frédéric Demians from comment #42)
I can alternatively propose:
[% IF Koha.Preference('CoceProviders') %] [% SET coce_id = SEARCH_RESULT.normalized_ean || SEARCH_RESULT.normalized_isbn %] [% IF ( coce_id ) %] <span style="block" title="[% SEARCH_RESULT.biblionumber |url %]" class="[% coce_id %]" id="coce-thumbnail[% loop.count %]"></span> [% ELSE %] <span class="no-image">No cover image available</span> [% END %] [% END %]
I think that would work. Though, http://template-toolkit.org/docs/manual/Syntax.html#section_Implicit_Directi... implies that SET is not necessary. Remember, this type of fix is required in more than one location in the code. :) -- You are receiving this mail because: You are watching all bug changes.