https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41566

--- Comment #25 from Jonathan Druart <[email protected]> ---
(In reply to Andrii Nugged from comment #24)
> +            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) {
> 
> ?

Oops (again), yes definitely, thanks!
See bug 42708.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to