[Koha-patches] [PATCH] Bug 7044 OPAC Branch Selector Fix
Nicole C. Engard
nengard at bywatersolutions.com
Sat Oct 15 04:41:41 CEST 2011
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.
---
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.2.3
More information about the Koha-patches
mailing list