From 9e8533def27e36e6bc304a59d933d7531eb4ee44 Mon Sep 17 00:00:00 2001
From: Nicole C. Engard <nengard@bywatersolutions.com>
Date: Fri, 14 Oct 2011 22:39:56 -0400
Subject: [PATCH] [SIGNED-OFF] Bug 7044 OPAC Branch Selector Fix
Content-Type: text/plain; charset="utf-8"
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@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