]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 11 Jun 2024 07:12:14 +0000 (08:12 +0100)
commit009d83648c277bd8b351606c52f50fb3563bd7bb
tree2ce72dc3122ebdbbdf869f71f825c0906341a036
parent11eb0d1da7c538486812ab14449f1ab8b1004d09
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt