Bugzilla – Attachment 24190 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]
Bug 11476 - Opac self registration title pull down offers 2 empty options
Bug-11476---Opac-self-registration-title-pull-down.patch (text/plain), 2.69 KB, created by
Chris Cormack
on 2014-01-11 04:20:18 UTC
(
hide
)
Description:
Bug 11476 - Opac self registration title pull down offers 2 empty options
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2014-01-11 04:20:18 UTC
Size:
2.69 KB
patch
obsolete
>From c1a9c9075ddd8aaa540db51f552df96263bba8a7 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 10 Jan 2014 11:56:15 -0500 >Subject: [PATCH] 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> >--- > 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.5.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