]> git.koha-community.org Git - koha.git/commit
Bug 31387: Fix othernames required label
authorLucas Gass <lucas@bywatersolutions.com>
Wed, 17 Aug 2022 17:09:44 +0000 (17:09 +0000)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Wed, 19 Oct 2022 03:07:19 +0000 (05:07 +0200)
commit7c206f6217705264228817c7d523d0eabbc30714
tree59b4c0ee3b6c8241901b8b014e7cda265324cc40
parent7c457f1833185279f184ea1d422dbf14cf830931
Bug 31387: Fix othernames required label

1. Mark othernames as required via PatronSelfRegistrationBorrowerMandatoryField
2. Go to the self-reg form, the field is required but the span that makes it look required stays hidden. (<div class="required_label required">Required</div>)
3. Mark initials as required via PatronSelfRegistrationBorrowerMandatoryField.
4. Now the label_required field appears for othernames in the self ref form
5. Apply patch
6. Try again, the label should now properly show when othernames is marked as required

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 37002a81c37e759bf80e663d3e75ce7c0700feef)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit f2bb0864fab63869abd43d4faec3c2deb6efd7db)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt