@@ -, +, @@ item types administration - Go to Administration -> Item types. - Test that the "Column visibility" button works to show and hide columns. The "actions" column should be excluded. - Test that export options (Excel, CSV, etc) exclude the "actions" column. - Go to Administration -> Columns settings and edit the default configuration of the item types table. Confirm that these changes are reflected in item tyeps administration. --- admin/columns_settings.yml | 31 ++++++++++++++++++++++ .../prog/en/modules/admin/itemtypes.tt | 24 ++++++++++++----- 2 files changed, 48 insertions(+), 7 deletions(-) --- a/admin/columns_settings.yml +++ a/admin/columns_settings.yml @@ -157,6 +157,37 @@ modules: cannot_be_toggled: 1 cannot_be_modified: 1 + itemtypes: + table_item_type: + - + columnname: image + - + columnname: code + - + columnname: description + - + columnname: search_category + - + columnname: not_for_loan + - + columnname: hide_in_opac + - + columnname: rental_charge + - + columnname: daily_rental_charge + - + columnname: hourly_rental_charge + - + columnname: default_replacement_cost + - + columnname: lost_processing_fee + - + columnname: checkin_message + - + columnname: actions + cannot_be_toggled: 1 + cannot_be_modified: 1 + libraries: libraries: - --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt @@ -3,6 +3,7 @@ [% USE Koha %] [% USE AuthorisedValues %] [% USE Price %] +[% USE ColumnsSettings %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %]
Image | [% END %] + [% UNLESS Koha.Preference('noItemTypeImages') %]Image | [% END %]Code | Description | Search category | @@ -359,7 +360,7 @@ Item types administrationDefault replacement cost | Processing fee (when lost) | Checkin message | -Actions | +Actions | [% FOREACH itemtype IN itemtypes %]
---|