From 6c8f0406f3c50db8a0ab34c7d63f6b69d4e56030 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 13 Nov 2020 17:04:22 +0000 Subject: [PATCH] Bug 27020: Allow patron attributes of self reg form Test plan: 1. Create some patron attributes types. 2. Make sure you click both Display in OPAC and Editable in OPAC. 3. Make sure PatronSelfRegistration is on. 4. Register and notice that your patron attribute types do not display. 5. Find an already registered patron and go edit your patron details on the OPAC, you do see the attributes listed here. 6. Apply patch 7. Try registering again, the attributes should display. 8. Finish registering the user and look them up in the staff cleint. See that the parton attributes you choose while registering have saved correctly. --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt index 60eaa58379..4305450053 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -936,7 +936,7 @@ [% END %] - [% IF ( Koha.Preference('ExtendedPatronAttributes') && patron_attribute_classes.size && action != 'new' ) %] + [% IF ( Koha.Preference('ExtendedPatronAttributes') && patron_attribute_classes.size ) %]
[% FOREACH pa_class IN patron_attribute_classes %] -- 2.11.0