http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9580
--- Comment #43 from M. Tompsett <[email protected]> --- (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_Directives_GET_and_SET 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. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
