]> git.koha-community.org Git - koha.git/commit
Bug 11476: remove extra empty option from title pull-down in OPAC self-registration
authorOwen Leonard <oleonard@myacpl.org>
Fri, 10 Jan 2014 16:56:15 +0000 (11:56 -0500)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 25 Mar 2014 08:45:12 +0000 (09:45 +0100)
commit74a6acb4205caedb3746df69bcfafad9a063b9d0
tree4b56c6823f859300c7b4f4c75b8217850348612b
parent91fd91b0052f7ac4a5479ff26b3289a6dad96e8e
Bug 11476: remove extra empty option from title pull-down in OPAC self-registration

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: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit a8aa6e8f7efd1ea29fdbd99cf3e573e72b424eb5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt