]> git.koha-community.org Git - koha.git/commit
Bug 34587: Refactor reports viewer to use URL params instead of pinia store
authorMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Fri, 9 Jun 2023 15:38:44 +0000 (15:38 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Oct 2023 19:46:02 +0000 (16:46 -0300)
commit73d3b48048dcbcd1f9da2e5f4f9ab3738c7d6976
treed7d4478c0ab111be3de3a04739fac265adb86d36
parentdcf7f58e0e2997a34e63a1379247206a114f83b9
Bug 34587: Refactor reports viewer to use URL params instead of pinia store

This patch removes the pinia store and uses URL params to pass data between components. Using the pinia store means that the data is lost on page refresh and the report then throws an error.

This patch also merges the first column in the table into one line per object, rather than repeating the same title for each line of data.

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-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/components/KohaTable.vue
koha-tmpl/intranet-tmpl/prog/js/vue/stores/usage-reports.js