Bugzilla – Attachment 170209 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.77 KB, created by
Matt Blenkinsop
on 2024-08-09 16:09:32 UTC
(
hide
)
Description:
Bug 37607: Only default to manual form if we are editing
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2024-08-09 16:09:32 UTC
Size:
1.77 KB
patch
obsolete
>From 76b801af2a5fbca659d89fcc060efe8f9a686bad 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 >--- > .../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 b205956d2da..7d4e30afb9f 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.39.3 (Apple Git-146)
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