Bug 26119: Enable patron's attribute edition when PatronSelfRegistrationVerifyByEmail
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 3 Aug 2020 11:09:54 +0000 (13:09 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 18 Aug 2020 12:47:44 +0000 (14:47 +0200)
commitfc22fb308bdbfc6d1bda3448e966542f2828ad76
treefd95728415098ebd79648e35a558812334e889b1
parent7a53c5f04cf2bb03734c82e9f964f108f9198d28
Bug 26119: Enable patron's attribute edition when PatronSelfRegistrationVerifyByEmail

There is no good reason remove the ability to edit patron's attributes
if PatronSelfRegistrationVerifyByEmail is set.

We cannot have them in the self-registration form (because we don't
store patron's attributes during self-ref), but we can have them when
a patron show/edit their information.

Test plan:
0. Enable PatronSelfRegistrationVerifyByEmail and create patron's
attributes that can be edited at the OPAC
1. Create a new patron using the self-reg feature
=> You don't have the ability to fill in the patron's attribute
2. Edit your personal details (OPAC)
=> Without this patch you still don't see the patron's attribute that
can be edited at the OPAC
=> With this patch applied you can!
3. Notice the wording change on the "Modify patron attribute type" form
and confirm it makes sense

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

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