Bugzilla – Attachment 105284 Details for
Bug 25590
Street number is missing from alternate address in the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25590: B_streetnumber is missing from opac-memberentry.pl
Bug-25590-Bstreetnumber-is-missing-from-opac-membe.patch (text/plain), 2.38 KB, created by
Lucas Gass (lukeg)
on 2020-05-22 21:36:52 UTC
(
hide
)
Description:
Bug 25590: B_streetnumber is missing from opac-memberentry.pl
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2020-05-22 21:36:52 UTC
Size:
2.38 KB
patch
obsolete
>From 7b200cfd2a2b7fe0bf66f8ebb0873f8709305f88 Mon Sep 17 00:00:00 2001 >From: David Roberts <david@koha-ptfs.co.uk> >Date: Fri, 22 May 2020 21:11:24 +0000 >Subject: [PATCH] Bug 25590: B_streetnumber is missing from opac-memberentry.pl > >This patch adds the ability to add / edit the street number field >(B_streetnumber) in the Alternate address area of the patron record on >the OPAC. > >To test: > >1) Check that you are unable to add a street number to the Alternate >address record when logged into the OPAC >2) Apply the patch >3) Check that you can now add and edit the streetnumber field. >4) Check that it also works correctly in patron self-registration. >5) Check that it works with the field set to be mandatory as well as non-mandatory > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > .../opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > >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 35af40224f..2ead0d2b7d 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >@@ -607,6 +607,19 @@ > <legend id="alternateaddress_legend">Alternate address</legend> > > <ol> >+ [% UNLESS hidden.defined('B_streetnumber') %] >+ <li> >+ [% IF mandatory.defined('B_streetnumber') %] >+ <label for="borrower_B_streetnumber" class="required">Street number:</label> >+ [% ELSE %] >+ <label for="borrower_B_streetnumber">Street number:</label> >+ [% END %] >+ >+ <input type="text" id="borrower_B_streetnumber" name="borrower_B_streetnumber" value="[% borrower.B_streetnumber | html %]" /> >+ [% IF mandatory.defined('B_streetnumber') %]<span class="required">Required</span>[% END %] >+ </li> >+ [% END %] >+ > [% UNLESS hidden.defined('B_address') %] > <li> > [% IF mandatory.defined('B_address') %] >-- >2.11.0
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 25590
:
105283
|
105284
|
147422
|
147438
|
148243