]> git.koha-community.org Git - koha.git/commit
Bug 36983: Fix incorrect required class
authorMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Wed, 29 May 2024 11:06:31 +0000 (11:06 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 17 Jul 2024 13:56:37 +0000 (15:56 +0200)
commitf5374d030da3b68fb6635989ae6b5983f6384673
tree789e690a61e28a579eafbefd05b9e5977acd771b
parent455c4f03d861b1623fa66f1fee94d6aec96d06c9
Bug 36983: Fix incorrect required class

This patch fixes an error on the B_address2 field which sets it to be
required incorrectly

Test plan:
1) In PatronSelfRegistrationBorrowerMandatoryField, set B_address to be
   required.
2) In the OPAC, navigate to the self registration form.
3) In the Alternate address section, fill in the Address field that you
   have just set to be required. Ensure that you leave the Address 2
   field blank.
4) Fill in all other required fields and submit the form, it should show
   you that the Address 2 field is required, even though it shouldn't be
5) Apply patch
6) Refresh the page and repeat steps 1-5, it should allow youto submit
   the form

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 009d83648c277bd8b351606c52f50fb3563bd7bb)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 18a186969eba5250475984bfc159832797e90e18)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt