Bug 11476 - Opac self registration title pull down offers 2 empty options
authorOwen Leonard <oleonard@myacpl.org>
Fri, 10 Jan 2014 16:56:15 +0000 (11:56 -0500)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 2 Jun 2014 16:18:24 +0000 (12:18 -0400)
commit90edef5fd2302f0b877414a30b2bbb00c1f36bd8
tree6daadd449227457d8a9ad8a7caf2447430bd6cb1
parented7cfb950ed6613ecb7b6b74023cbdf91027e89a
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.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt