Bugzilla – Attachment 24197 Details for
Bug 11476
Opac self registration title pull down offers 2 empty options
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 11476 - Opac self registration title pull down offers 2 empty options
PASSED-QA-Bug-11476---Opac-self-registration-title.patch (text/plain), 2.82 KB, created by
Katrin Fischer
on 2014-01-11 19:55:48 UTC
(
hide
)
Description:
[PASSED QA] Bug 11476 - Opac self registration title pull down offers 2 empty options
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-01-11 19:55:48 UTC
Size:
2.82 KB
patch
obsolete
>From 3a022e6d9ccb8edf9c6ab4bf67bc7241fb0fe625 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 10 Jan 2014 11:56:15 -0500 >Subject: [PATCH] [PASSED QA] Bug 11476 - Opac self registration title pull > down offers 2 empty options > >If you have patron titles enabled, the OPAC patron details form lists 2 >empty spaces instead of 1. An empty option is passed by the script, so >the template does not need to include one. > >To test you must have at least one patron title set in BorrowersTitles >system preference and OPACPatronDetails must be set to "allow." > >1. Apply the patch >2. Log in to the OPAC >3. Click the "personal details" tab. >4. Click the "salutation" dropdown. There should be only one blank line > preceding the existing titles. > >Test in both prog and bootstrap. > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Works as described for existing and creating new accounts. >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 1 - > koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt | 1 - > 2 files changed, 2 deletions(-) > >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 0d48e8d..8022fff 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >@@ -110,7 +110,6 @@ > Salutation:</label> > > <select id="borrower_title" name="borrower_title"> >- <option value=""> </option> > [% FOREACH mt IN member_titles %] > [% IF mt == borrower.title %] > <option value="[% mt %]" selected="selected">[% mt %]</option> >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt >index 215d8cb..65cf8b4 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt >@@ -117,7 +117,6 @@ > Salutation:</label> > > <select id="borrower_title" name="borrower_title"> >- <option value=""> </option> > [% FOREACH mt IN member_titles %] > [% IF mt == borrower.title %] > <option value="[% mt %]" selected="selected">[% mt %]</option> >-- >1.8.3.2
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 11476
:
24165
|
24190
| 24197