Bug 26973: (bug 26119 follow-up) Restore patron's attributes during self-registration
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 10 Nov 2020 11:55:17 +0000 (12:55 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 17 Nov 2020 10:51:28 +0000 (11:51 +0100)
commit5c70587c088241e30e6fe0e5f9bb858a0a165293
treeb89b50e5c01fa43fafed0970b52d1dc6fa126c1c
parent853a56cc7ae6c089f0f113943b77530d8c3a15c8
Bug 26973: (bug 26119 follow-up) Restore patron's attributes during self-registration

The assumption on bug 26119 was wrong. We actually store patron's
attributes during self-registration if
PatronSelfRegistrationVerifyByEmail is not enabled.

Test plan:
Test the different combinations of PatronSelfRegistration and PatronSelfRegistrationVerifyByEmail
Confirm that the patron's attributes appears during self-registration if
PatronSelfRegistrationVerifyByEmail is not set.
Confirm that the patron's attributes are stored when they are displayed
on the self-registration form
Confirm that you can edit the patron's attributes in any cases (if they
are marked as editable at the OPAC)

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt