https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41566 Andrii Nugged <nugged@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nugged@gmail.com --- Comment #24 from Andrii Nugged <nugged@gmail.com> --- + noItemTypeImages: [% Koha.Preference('noItemTypeImages') ? 1 : 0 | html %], - [% UNLESS noItemTypeImages %] + if (prefs.noItemTypeImages){ let image_location = item_type_image_locations[row.item_type_id]; node += image_location ? '<img class="itemtype-image" ... /> ' : ''; - [% END %] + } should it be inverted? I.e.: if (!Koha.prefs.noItemTypeImages) { ? -- You are receiving this mail because: You are watching all bug changes.