From 64bdbfe70a5c42704c29637493379fb1748fc318 Mon Sep 17 00:00:00 2001 From: Eric Garcia Date: Tue, 9 Jul 2024 16:04:39 +0000 Subject: [PATCH] Bug 36496: Add export option to inventory results table To test: 1. Apply patch and restart_all 2. Cataloging -> Inventory -> Submit 3. In the inventory report notice options to export at the top of the table Signed-off-by: Lucas Gass Signed-off-by: Laura_Escamilla Updated column name from collection_code to collection in table settings. Signed-off-by: Katrin Fischer --- admin/columns_settings.yml | 34 +++++++++++++++++++ .../prog/en/modules/tools/inventory.tt | 7 ++-- 2 files changed, 39 insertions(+), 2 deletions(-) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index e50980bbd8..c71c744929 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -2276,6 +2276,40 @@ 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 + - + 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..3614bdfcff 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' %]