From c1e58ae824f3a4fca1047e56c6e6339ed9c8aa91 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 2 Jul 2024 21:07:48 +0000 Subject: [PATCH] Bug 36496: Use KohaTable and add table_settings --- admin/columns_settings.yml | 32 +++++++++++++++++++ .../prog/en/modules/tools/inventory.tt | 8 +++-- 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 5999889ce1..c96be730c3 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -2272,6 +2272,38 @@ modules: columnname: actions cannot_be_toggled: 1 cannot_be_modified: 1 + inventory: + inventoryt: + default_display_length: 20 + columns: + - + columnname: seen + cannot_be_toggled: 1 + cannot_be_modified: 1 + - + columnname: barcode + - + columnname: call_number + cannot_be_toggled: 1 + cannot_be_modified: 1 + - + columnname: library + - + columnname: collection_code + - + columnname: title + - + columnname: notforloan + - + columnname: lost + - + columnname: damaged + - + columnname: withdrawn + - + columnname: last_seen + - + columnname: problems pos: pay: invoices: diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt index 60c4c8e4ac..548acccbc0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt @@ -3,6 +3,7 @@ [% USE AuthorisedValues %] [% USE KohaDates %] [% USE Branches %] +[% USE TablesSettings %] [% PROCESS 'i18n.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] @@ -401,6 +402,7 @@ [% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'calendar.inc' %] + [% INCLUDE 'columns_settings.inc' %]