Bugzilla – Attachment 186017 Details for
Bug 40737
Usage statistics data provider "Import logs" table does not render if "Imported by": "Cronjob"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40737: Fix rendering 'Cronjob'
Bug-40737-Fix-rendering-Cronjob.patch (text/plain), 1.93 KB, created by
Pedro Amorim
on 2025-09-01 13:03:47 UTC
(
hide
)
Description:
Bug 40737: Fix rendering 'Cronjob'
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2025-09-01 13:03:47 UTC
Size:
1.93 KB
patch
obsolete
>From 4037abb6fb77cdbc69b58b6713b2323f60e62d9b Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@openfifth.co.uk> >Date: Mon, 1 Sep 2025 13:02:05 +0000 >Subject: [PATCH] Bug 40737: Fix rendering 'Cronjob' > >Test plan, k-t-d, before applying patch (requires data provider SUSHI credentials): >1) Enable ERMModule >2) Create a new data provider, visit: > <staff_url>/cgi-bin/koha/erm/eusage/usage_data_providers/add >3) Add the required credentials (customer id, requestor id) and at least one report type e.g. TR J1 >4) Run the cron, e.g.: > $ perl misc/cronjobs/erm_run_harvester.pl --begin-date 2025-05-01 --end-date 2025-06-01 --debug >5) Wait a few seconds (depending on the harvest job). Visit the data provider page: ><staff_url>/cgi-bin/koha/erm/eusage/usage_data_providers/1 >6) Click on the 'Import logs' tab. Notice the datatable never renders. >7) Apply patch. Run the yarn build command: > $ yarn js:build >8) Repeat 5+6. Notice the table renders normally and shows 'Cronjob' for the import logs generated by the cronjob. >--- > .../components/ERM/UsageStatisticsDataProvidersCounterLogs.vue | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersCounterLogs.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersCounterLogs.vue >index 76826ccd5ae..abea4506872 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersCounterLogs.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersCounterLogs.vue >@@ -146,7 +146,7 @@ export default { > '">' + > $patron_to_html(patron) + > "</a>" >- : this.$__("Cronjob"); >+ : __("Cronjob"); > return importer; > }, > searchable: true, >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40737
: 186017