Bugzilla – Attachment 24165 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.67 KB, created by
Owen Leonard
on 2014-01-10 17:02:42 UTC
(
hide
)
Description:
Bug 11476 - Opac self registration title pull down offers 2 empty options
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2014-01-10 17:02:42 UTC
Size:
2.67 KB
patch
obsolete
>From 4ee3ed4ca56bdcbfb40223ab1536cc4e54cc06f6 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 >Content-Type: text/plain; charset="utf-8" > >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. >--- > .../bootstrap/en/modules/opac-memberentry.tt | 1 - > .../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.7.9.5
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