From 7a33ba395ea2dab75ff261984f194b8dc9170f78 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Thu, 27 Apr 2023 10:51:05 +0000 Subject: [PATCH] Bug 34587: Usage statistics table column data Signed-off-by: Jessica Zairo Signed-off-by: Michaela Sieber Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi --- admin/columns_settings.yml | 57 +++++++++++++++++++ .../intranet-tmpl/prog/en/modules/erm/erm.tt | 5 ++ 2 files changed, 62 insertions(+) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index b379f5863b..3692679f7a 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -830,6 +830,63 @@ modules: columnname: actions cannot_be_toggled: 1 cannot_be_modified: 1 + usage_data_providers: + usage_data_providers: + columns: + - + columnname: name + - + columnname: description + - + columnname: actions + cannot_be_toggled: 1 + cannot_be_modified: 1 + titles: + titles: + columns: + - + columnname: title + - + columnname: metric_type + counter_logs: + counter_logs: + columns: + - + columnname: filename + - + columnname: importdate + - + columnname: actions + cannot_be_toggled: 1 + cannot_be_modified: 1 + monthly_usages: + monthly_usages: + columns: + - + columnname: title + - + columnname: usage_data_provider + - + columnname: year + - + columnname: month + - + columnname: count + - + columnname: metric_type + yearly_usages: + yearly_usages: + columns: + - + columnname: title + - + columnname: usage_data_provider + - + columnname: year + - + columnname: metric_type + + illrequests: ill-requests: diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/erm/erm.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/erm/erm.tt index 6b229bc18d..5ff4bd56e6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/erm/erm.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/erm/erm.tt @@ -33,6 +33,11 @@ const license_table_settings = [% TablesSettings.GetTableSettings( 'erm', 'licenses', 'licenses', 'json' ) | $raw %]; const eholdings_packages_table_settings = [% TablesSettings.GetTableSettings( 'erm', 'eholdings', 'packages', 'json' ) | $raw %]; const eholdings_titles_table_settings = [% TablesSettings.GetTableSettings( 'erm', 'eholdings', 'titles', 'json' ) | $raw %]; + const usage_data_provider_table_settings = [% TablesSettings.GetTableSettings( 'erm', 'usage_data_providers', 'usage_data_providers', 'json' ) | $raw %]; + const title_table_settings = [% TablesSettings.GetTableSettings( 'erm', 'titles', 'titles', 'json' ) | $raw %]; + const counter_log_table_settings = [% TablesSettings.GetTableSettings( 'erm', 'counter_logs', 'counter_logs', 'json' ) | $raw %]; + const monthly_usage_table_settings = [% TablesSettings.GetTableSettings( 'erm', 'monthly_usages', 'monthly_usages', 'json' ) | $raw %]; + const yearly_usage_table_settings = [% TablesSettings.GetTableSettings( 'erm', 'yearly_usages', 'yearly_usages', 'json' ) | $raw %]; const max_allowed_packet = [% To.json(max_allowed_packet) | $raw %]; -- 2.39.5