https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42332
Jonathan Druart <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Failed QA --- Comment #15 from Jonathan Druart <[email protected]> --- 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. _______________________________________________ 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/
