Bugzilla – Attachment 113366 Details for
Bug 26973
extendedPatronAttributes not showing during selfregistration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26973: (bug 26119 follow-up) Restore patron's attributes during self-registration
Bug-26973-bug-26119-follow-up-Restore-patrons-attr.patch (text/plain), 3.27 KB, created by
Jonathan Druart
on 2020-11-10 11:58:15 UTC
(
hide
)
Description:
Bug 26973: (bug 26119 follow-up) Restore patron's attributes during self-registration
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-11-10 11:58:15 UTC
Size:
3.27 KB
patch
obsolete
>From 48d59d5356c0830186782b53deeb4a61a3c84443 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 10 Nov 2020 12:55:17 +0100 >Subject: [PATCH] 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) >--- > .../intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt >index 84db9c25fb..227daf7137 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt >@@ -117,7 +117,7 @@ > [% ELSE %] > <input type="checkbox" id="opac_editable" name="opac_editable" /> > [% END %] >- <span>Check to allow patrons to edit this attribute from their details page in the OPAC. (Requires above, does not work during <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=PatronSelfRegistration" target="_blank">self-registration</a>.)</span> >+ <span>Check to allow patrons to edit this attribute from their details page in the OPAC. (Requires above, does not work during <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=PatronSelfRegistration" target="_blank">self-registration</a> if <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=PatronSelfRegistrationVerifyByEmail" target="_blank">PatronSelfRegistrationVerifyByEmail</a> if set.)</span> > </li> > <li><label for="staff_searchable">Searchable: </label> > [% IF attribute_type AND attribute_type.staff_searchable %] >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..6736294268 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 @@ > </div> <!-- /.row --> > [% END %] > >- [% IF ( Koha.Preference('ExtendedPatronAttributes') && patron_attribute_classes.size && action != 'new' ) %] >+ [% IF ( Koha.Preference('ExtendedPatronAttributes') && patron_attribute_classes.size && ! ( action == 'new' && Koha.Preference('PatronSelfRegistrationVerifyByEmail') ) ) %] > <div class="row"> > <div class="col"> > [% FOREACH pa_class IN patron_attribute_classes %] >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26973
:
113307
|
113366
|
113462
|
113663
|
113737