Bugzilla – Attachment 190708 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), 2.00 KB, created by
David Nind
on 2025-12-24 02:31:13 UTC
(
hide
)
Description:
Bug 41120: Fix broken Add data provider functionality
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-12-24 02:31:13 UTC
Size:
2.00 KB
patch
obsolete
>From 080753bee8241efce989470e1dd68b9373df72e1 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 > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../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 508a0eda1c..300bf3de7d 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
|
190708
|
192278