@@ -, +, @@ --- .../prog/en/modules/admin/patron-attr-types.tt | 2 +- .../opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 14 +++++++------- opac/opac-memberentry.pl | 4 ---- 3 files changed, 8 insertions(+), 12 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt @@ -136,7 +136,7 @@ $(document).ready(function() { [% ELSE %] [% END %] - Check to allow patrons to edit this attribute from their details page in the OPAC. (Requires above.) + Check to allow patrons to edit this attribute from their details page in the OPAC. (Requires above, does not work with PatronSelfRegistrationVerifyByEmail.)
  • [% IF ( staff_searchable_checked ) %] --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -890,7 +890,7 @@ [% END %] - [% IF ( Koha.Preference('ExtendedPatronAttributes') && patron_attribute_classes.size ) %] + [% IF ( Koha.Preference('ExtendedPatronAttributes') && patron_attribute_classes.size && !Koha.Preference('PatronSelfRegistrationVerifyByEmail') ) %] [% FOREACH pa_class IN patron_attribute_classes %] [% IF pa_class.class %]
    @@ -927,17 +927,17 @@ [% ELSE %] [% END %] + Clear + [% IF ( pa.type.repeatable ) %] + New + [% END %] [% IF ( pa.type.password_allowed ) %] - ( - ) +
  • + [% ELSE %] [%# To keep the form inputs lined up in the POST %] [% END %] - Clear - [% IF ( pa.type.repeatable ) %] - New - [% END %] [% ELSE %] [% IF ( pa.type.authorised_value_category ) %] [% AuthorisedValues.GetByCode( pa.type.authorised_value, pa_value.value, 1 ) %] --- a/opac/opac-memberentry.pl +++ a/opac/opac-memberentry.pl @@ -464,8 +464,6 @@ sub DelEmptyFields { sub GeneratePatronAttributesForm { my ( $borrower, $entered_attributes ) = @_; - use Data::Dumper; warn Dumper( $entered_attributes ); - # Get all attribute types and the values for this patron (if applicable) my @types = C4::Members::AttributeTypes::GetAttributeTypes(); @@ -510,8 +508,6 @@ sub GeneratePatronAttributesForm { }; } - use Data::Dumper; warn Dumper( \%items_by_class ); - # Finally, build a list of containing classes my @class_loop; foreach my $class (@classes) { --