[Koha-patches] [PATCH] [SIGNED-OFF] Bug 7044 OPAC Branch Selector Fix
Owen Leonard
oleonard at myacpl.org
Mon Oct 17 17:21:02 CEST 2011
From: Nicole C. Engard <nengard at bywatersolutions.com>
There was a typo in the OPAC branch selector added by
the OpacAddMastheadLibraryPulldown preference where the
current branch wasn't selected. This patch fixes that typo.
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
---
koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
index b3672f4..92e58bc 100644
--- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
+++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
@@ -80,7 +80,7 @@
<select name="limit" id="masthead_search" class="left" style="max-width:10em;width:10em;">
<option value="">All Libraries</option>
[% FOREACH BranchesLoo IN BranchesLoop %]
- [% IF ( BranchesLoo.selected ) %]<option select="selected" value="branch:[% BranchesLoo.value %]">[% BranchesLoo.branchname %]</option>
+ [% IF ( BranchesLoo.selected ) %]<option selected="selected" value="branch:[% BranchesLoo.value %]">[% BranchesLoo.branchname %]</option>
[% ELSE %]<option value="branch:[% BranchesLoo.value %]">[% BranchesLoo.branchname %]</option>[% END %]
[% END %]
</select>
--
1.7.3
More information about the Koha-patches
mailing list