Bug 6739: (follow-up) fix various issues
[koha_fer] / koha-tmpl / opac-tmpl / prog / en / includes / opac-topissues.inc
index 1a1c0a6..55501fc 100644 (file)
@@ -15,9 +15,9 @@
                                <li>
                <label for="branch">From: </label>
                 <select name="branch" id="branch" style="width: 10em;">
-                <option value="">All branches</option>
+                <option value="">All libraries</option>
                 [% FOREACH branchloo IN branchloop %]
-                    [% IF ( branch == branchname ) %]<option value="[% branchloo.value %]" selected="selected">[% ELSE %]<option value="[% branchloo.value %]">[% END %]
+                    [% IF ( branchloo.selected ) %]<option value="[% branchloo.value %]" selected="selected">[% ELSE %]<option value="[% branchloo.value %]">[% END %]
                         [% branchloo.branchname %]
                     </option>
                 [% END %]
@@ -44,4 +44,4 @@
                
     </fieldset><fieldset class="action"><input type="submit" value="Submit" /></fieldset>
     </form>
-</div>
\ No newline at end of file
+</div>