Bugzilla – Attachment 145149 Details for
Bug 32495
Required fields in API and UI form don't match
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32495: Mis-matched required fields in UI and api
Bug-32495-Mis-matched-required-fields-in-UI-and-ap.patch (text/plain), 1.60 KB, created by
Matt Blenkinsop
on 2023-01-09 15:15:54 UTC
(
hide
)
Description:
Bug 32495: Mis-matched required fields in UI and api
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2023-01-09 15:15:54 UTC
Size:
1.60 KB
patch
obsolete
>From ca840649ddbbd6e53a2fdffc79b40c0787a11700 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Mon, 9 Jan 2023 15:12:18 +0000 >Subject: [PATCH] Bug 32495: Mis-matched required fields in UI and api > >The "description" field is marked as required in the UI when creating a new Agreement. This flag has been removed to match the API where it is not a required field. Is Perpetual has not been marked as required as it is a checkbox with a default selection so will always provide a value. > >Test plan: >1) In the ERM module, add a new agreement and observe that the Description field is required >2) Apply patch >3) Repeat step 1 but this time the Required flag will not be visible. >--- > .../prog/js/vue/components/ERM/AgreementsFormAdd.vue | 3 --- > 1 file changed, 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsFormAdd.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsFormAdd.vue >index b21340f562a..260c50f9e27 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsFormAdd.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsFormAdd.vue >@@ -48,9 +48,6 @@ > cols="50" > required > /> >- <span class="required">{{ >- $__("Required") >- }}</span> > </li> > <li> > <label for="agreement_status" >-- >2.37.1 (Apple Git-137.1)
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 32495
:
145149
|
145205
|
147290
|
147555
|
147558