]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 14 Oct 2022 22:06:31 +0000 (22:06 +0000)
commitf2bb0864fab63869abd43d4faec3c2deb6efd7db
tree2b2ef4ebfcfd276e729b9edc67644cf698673dbb
parent6150bd7d812aafd8e6d4f32fe71e9a408c327448
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt