Bugzilla – Attachment 54970 Details for
Bug 17213
Self registration cardnumber is not editable if errors found when form submitted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17213 - Self registration cardnumber is not editable if errors found when form submitted
Bug-17213---Self-registration-cardnumber-is-not-ed.patch (text/plain), 1.60 KB, created by
Nick Clemens (kidclamp)
on 2016-08-29 10:56:36 UTC
(
hide
)
Description:
Bug 17213 - Self registration cardnumber is not editable if errors found when form submitted
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2016-08-29 10:56:36 UTC
Size:
1.60 KB
patch
obsolete
>From d16859388c7168582f0fb9bb536cb2a47c8229b4 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >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 >--- > 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 609ea45..638808f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >@@ -130,7 +130,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 %]" /> >-- >2.1.4
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 17213
:
54970
|
54971
|
55097
|
55449
|
55450
|
55530
|
55531
|
55665
|
55666
|
55667