Bugzilla – Attachment 170210 Details for
Bug 37607
t/cypress/integration/ERM/DataProviders_spec.ts fails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37607: Only default to manual form if we are editing
Bug-37607-Only-default-to-manual-form-if-we-are-ed.patch (text/plain), 1.81 KB, created by
Paul Derscheid
on 2024-08-09 16:14:48 UTC
(
hide
)
Description:
Bug 37607: Only default to manual form if we are editing
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2024-08-09 16:14:48 UTC
Size:
1.81 KB
patch
obsolete
>From fcb327a9200721137829d48cb65314a50f46825f Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Fri, 9 Aug 2024 16:05:55 +0000 >Subject: [PATCH] Bug 37607: Only default to manual form if we are editing > >This patch fixes an issue where the form to add a provder would automatically default to the manual form. This patch prevents this behaviour and restores the intended functionality. > >Test plan: >1) Don't apply the patch >2) In ERM, click to add a new provider >3) Type something in the provider name search box >4) The input will change from a select to a text input and the button next to it will now say "Create from registry" >5) Apply patch >6) Yarn build and hard refresh the browser >7) Repeat steps 1-3, the form should work as intended and return results in the select box > >Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> >--- > .../vue/components/ERM/UsageStatisticsDataProvidersFormAdd.vue | 3 ++- > 1 file changed, 2 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 b205956d2d..7d4e30afb9 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 >@@ -466,7 +466,8 @@ export default { > r => r.report_id === report.value > ) > ) >- } else { >+ } >+ if (caller === "edit" && registry_data.length === 0) { > this.manual_form = true > } > this.searching = false >-- >2.46.0
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 37607
:
170209
| 170210