Browse Source

Bug 17213 - Self registration cardnumber is not editable if errors found when form submitted

To test:
Enable self registration
Make sure cardnumber is not in
'PatronSelfRegistrationBorrowerUnwantedField'
Enter an invalid or used cardnumber
Submit form
Note errors appears correctly but cardnumber is not editable
Apply Patch
Enter an invalid or used cardnumber
Submit form
Note errors appears correctly and cardnumber is editable

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer  <katrin.fischer@bsz-bw.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
16.11.x
Nick Clemens 8 years ago
committed by Kyle M Hall
parent
commit
dc9c5721a7
  1. 2
      koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt

2
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt

@ -134,7 +134,7 @@
[% END %]
Library card number:
</label>
[% IF borrower %]
[% IF borrower && !(cardnumber_wrong_length || cardnumber_already_exists) %]
[% borrower.cardnumber %]
[% ELSE %]
<input type="text" id="borrower_cardnumber" name="borrower_cardnumber" value="[% borrower.cardnumber %]" />

Loading…
Cancel
Save