[koha-commits] main Koha release repository branch master updated. v3.12.00-beta1-670-g545ed7a
Git repo owner
gitmaster at git.koha-community.org
Fri Jun 7 17:37:48 CEST 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 545ed7a0b6f7cffc7a5cc904963b7bdcf75038fc (commit)
from 5cf5da12ef8667513d2f6fb494c6997cbe82899b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 545ed7a0b6f7cffc7a5cc904963b7bdcf75038fc
Author: Owen Leonard <oleonard at myacpl.org>
Date: Fri May 31 09:54:34 2013 -0400
Bug 10354 - Don't show optgroup Libraries when no search groups are defined
In the OPAC, if there are no search groups defined, there's no reason to
embed library choices inside an <optgroup>. <optgroup> should only be
used to differentiate the list of individual libraries from search
groups. This patch removes the <optgroup> when no search groups are
enabled.
To test, apply the patch and:
- Enable OpacAddMastheadLibraryPulldown.
- Create a library search group in Administration ->
Libraries and Groups and enable it by checking the "show in search
pulldown" box.
- View the library pulldown in the OPAC search bar. Libraries and groups
should be separated into <optgroup>s.
- Disable your library search group and refresh the OPAC page. The
pulldown of libraries should now display libraries with no <optgroup>.
Signed-off-by: Srdjan <srdjan at catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
-----------------------------------------------------------------------
Summary of changes:
koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list