From dc9c5721a7586ff89fd3ca068dbb857b860872e9 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 29 Aug 2016 10:28:25 +0000 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 71b45c83be..f231015be8 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -134,7 +134,7 @@ [% END %] Library card number: - [% IF borrower %] + [% IF borrower && !(cardnumber_wrong_length || cardnumber_already_exists) %] [% borrower.cardnumber %] [% ELSE %] -- 2.39.5