https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42332 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Failed QA --- Comment #15 from Jonathan Druart <jonathan.druart@gmail.com> --- Note: - [% IF ( Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages') ) %] - table_settings['columns'].shift(); // Remove item type image column from configuration - [% END %] + let image_column = table_settings.columns.find(c => c.columnname == 'image'); + image_column.visibility_condition = [% !(Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages')) ? 1 : 0 | html %] This last line should be ! && ! -- You are receiving this mail because: You are watching all bug changes.