]> git.koha-community.org Git - koha.git/commit
Bug 34587: Add access_type and yop to the reports viewer
authorMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Fri, 20 Oct 2023 15:45:26 +0000 (15:45 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Oct 2023 19:46:28 +0000 (16:46 -0300)
commitc0b449ea2a060f38fb3a72eabcd1dba1b5e3d481
tree1c8d4982145fea1aa4b001209a3e16288e3de9df
parent0a8e3e2bdc130635b65087f88cbc6c41b249bcfd
Bug 34587: Add access_type and yop to the reports viewer

Some report types include access_type and yop headers for each usage statistics

The hierarchy is as follows: yop - access_type - metric_type
I.e. for each yop there are report lines for access_type and then for each access_type there are also report lines for metric types

This patch adds helper functions to populate the report rows based on this hierarchy and the report data retrieved from the database

Signed-off-by: Jessica Zairo <jzairo@bywatersolutions.com>
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/REST/V1/ERM/EUsage/CustomReports.pm
Koha/REST/V1/ERM/EUsage/SushiServices.pm
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersSummary.vue
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsReportBuilder.vue
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsReportsViewer.vue
koha-tmpl/intranet-tmpl/prog/js/vue/stores/usage-reports.js