http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11809
--- Comment #3 from Katrin Fischer <[email protected]> --- Created attachment 25563 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25563&action=edit [PASSED QA] Bug 11809 - OPAC patron details form shouldn't show 'Clear date' if field is required On the OPAC's patron details form, if the date of birth field is required we shouldn't offer the user a "clear date." This patch removes the "clear date" link if the field is required. To test, configure the BorrowerMandatoryField system preference to require dateofbirth. Enable the OPACPatronDetails system preference and log in to the OPAC. View the "personal details" form and confirm that there is no "clear date" link next to the required date of birth field. Remove dateofbirth from the BorrowerMandatoryField system preference and re-test. The "clear date" link should appear. Test in both prog and Bootstrap themes. I tested with prog and bootstrap themes, adding/removing field 'dateofbirth' in sys pref PatronSelfRegistrationBorrowerMandatoryField. Patch behaves as expected. Signed-off-by: Marc Véron <[email protected]> Signed-off-by: Katrin Fischer <[email protected]> Works as expected, passes all tests and QA script. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
