Bugzilla – Attachment 188506 Details for
Bug 41120
Click on New data provider breaks functionality
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41120: Fix broken Add data provider functionality
Bug-41120-Fix-broken-Add-data-provider-functionali.patch (text/plain), 1.95 KB, created by
Jan Kissig
on 2025-10-28 12:02:40 UTC
(
hide
)
Description:
Bug 41120: Fix broken Add data provider functionality
Filename:
MIME Type:
Creator:
Jan Kissig
Created:
2025-10-28 12:02:40 UTC
Size:
1.95 KB
patch
obsolete
>From 284b4a38fb819b20520e33c033776aeee56dd1c3 Mon Sep 17 00:00:00 2001 >From: Jan Kissig <bibliothek@th-wildau.de> >Date: Tue, 28 Oct 2025 11:45:36 +0000 >Subject: [PATCH] Bug 41120: Fix broken Add data provider functionality > >Clicking on New data provider in the ERM eUsage section will not work, when a data provider was shown before. > >Test plan: > >prequisites: >- activate the ERM module system preference. >- this is for ktd > >a) go to /cgi-bin/koha/erm/eusage/usage_data_providers >b) add a new data provider, dummy data is sufficient >c) submit the new provider and on the following screen click close to return to the provider list >d) click on 'Add data provider' (open web dev tools will display an error) > >e) apply patch >f) run 'yarn js:build' >f) do a hard refresh in the browser >g) on provider list click your created provider >h) close it via 'close' to return to the provider list >d) click on 'Add data provider' should work now >--- > .../components/ERM/UsageStatisticsDataProvidersFormAdd.vue | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersFormAdd.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersFormAdd.vue >index 508a0eda1c2..300bf3de7d8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersFormAdd.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersFormAdd.vue >@@ -618,7 +618,10 @@ export default { > } else { > initialized.value = true; > } >- if (from.value.params.erm_usage_data_provider_id) { >+ if ( >+ from.value.name === "UsageStatisticsDataProvidersShow" && >+ from.value.params.erm_usage_data_provider_id >+ ) { > previous_route.value = "data_provider_show"; > } else { > previous_route.value = "data_provider_list"; >-- >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 41120
: 188506