Bugzilla – Attachment 124278 Details for
Bug 28930
Cardnumber is lost if an invalid self registration form is submitted to the server, and the server side form validation fails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28930: Keep cardnumber be editable after server side form validation fails during self registration.
Bug-28930-Keep-cardnumber-be-editable-after-server.patch (text/plain), 1.47 KB, created by
Andreas Jonsson
on 2021-08-31 12:51:03 UTC
(
hide
)
Description:
Bug 28930: Keep cardnumber be editable after server side form validation fails during self registration.
Filename:
MIME Type:
Creator:
Andreas Jonsson
Created:
2021-08-31 12:51:03 UTC
Size:
1.47 KB
patch
obsolete
>From faf5f57b1e2012f59716ef2bb1789042fe875cb1 Mon Sep 17 00:00:00 2001 >From: Andreas Jonsson <andreas.jonsson@kreablo.se> >Date: Tue, 31 Aug 2021 12:50:03 +0000 >Subject: [PATCH] Bug 28930: Keep cardnumber be editable after server side form > validation fails during self registration. > >--- > 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 d9ee294706..1af4e8c58f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >@@ -206,7 +206,7 @@ > [% ELSE %] > <label for="borrower_cardnumber">Library card number:</label> > [% END %] >- [% IF borrower && !(cardnumber_wrong_length || cardnumber_already_exists) %] >+ [% IF borrower && !(cardnumber_wrong_length || cardnumber_already_exists) && action == 'edit' %] > [% borrower.cardnumber | html %] > [% ELSE %] > [% IF minlength_cardnumber == maxlength_cardnumber %] >-- >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 28930
:
124278
|
124320
|
125665