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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-3 / +10 lines)
Lines 52-58 Link Here
52
                                        <option value="">Any</option>
52
                                        <option value="">Any</option>
53
                                    [% END %]
53
                                    [% END %]
54
                                    [% FOREACH l IN libraries %]
54
                                    [% FOREACH l IN libraries %]
55
                                        <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option>
55
                                        [% IF (l.branchcode == branchcode_filter) %]
56
                                            <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option>
57
                                        [% ELSE %]
58
                                            <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option>
59
                                        [% END %]
56
                                    [% END %]
60
                                    [% END %]
57
                                </select>
61
                                </select>
58
                            </label>
62
                            </label>
Lines 64-70 Link Here
64
                                <select class="categorycode_filter">
68
                                <select class="categorycode_filter">
65
                                    <option value="">Any</option>
69
                                    <option value="">Any</option>
66
                                    [% FOREACH category IN Categories.limited.unblessed %]
70
                                    [% FOREACH category IN Categories.limited.unblessed %]
67
                                        <option value="[% category.categorycode | html %]">[% category.description | html %]</option>
71
                                        [% IF ( category.categorycode == categorycode_filter ) %]
72
                                            <option value="[% category.categorycode | html %]" selected="selected">[% category.description | html %]</option>
73
                                        [% ELSE %]
74
                                            <option value="[% category.categorycode | html %]">[% category.description | html %]</option>
75
                                        [% END %]
68
                                    [% END %]
76
                                    [% END %]
69
                                </select>
77
                                </select>
70
                            </label>
78
                            </label>
71
- 

Return to bug 36334