]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 3 Jul 2024 16:23:06 +0000 (16:23 +0000)
commit18a186969eba5250475984bfc159832797e90e18
treed8c78f82a8b0f2d42d2eee9c178903515cddb817
parentb12f880c9380b1dd56a630748d4076feab5cf0ab
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt