View | Details | Raw Unified | Return to bug 20875
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc (-4 / +6 lines)
Lines 224-232 Link Here
224
224
225
                                            [% IF LibrarySearchGroups %]<optgroup label="Libraries">[% END %]
225
                                            [% IF LibrarySearchGroups %]<optgroup label="Libraries">[% END %]
226
226
227
                                            [% FOREACH BranchesLoo IN BranchesLoop %]
227
                                            [% FOREACH library IN Branches.all( selected => opac_name ) %]
228
                                                [% IF ( BranchesLoo.selected ) %]<option selected="selected" value="branch:[% BranchesLoo.value %]">[% BranchesLoo.branchname %]</option>
228
                                                [% IF library.selected %]
229
                                                [% ELSE %]<option value="branch:[% BranchesLoo.value %]">[% BranchesLoo.branchname %]</option>[% END %]
229
                                                    <option selected="selected" value="branch:[% library.branchcode %]">[% library.branchname %]</option>
230
                                                [% ELSE %]
231
                                                    <option value="branch:[% library.branchcode %]">[% library.branchname %]</option>
232
                                                [% END %]
230
                                            [% END %]
233
                                            [% END %]
231
234
232
                                            [% IF LibrarySearchGroups %]
235
                                            [% IF LibrarySearchGroups %]
233
- 

Return to bug 20875