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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-advsearch.inc (-1 / +1 lines)
Lines 38-44 Link Here
38
                <li class="local">
38
                <li class="local">
39
                    <label for="branch">Library:</label>
39
                    <label for="branch">Library:</label>
40
                    <select id="branch" name="branch_filter">
40
                    <select id="branch" name="branch_filter">
41
                        <option value="">All</option>
41
                        <option value="">All libraries/branches</option>
42
                        [%# FIXME Should not we filter the libraries? %]
42
                        [%# FIXME Should not we filter the libraries? %]
43
                        [% PROCESS options_for_libraries libraries => Branches.all( selected => branch_filter, unfiltered => 1 ) %]
43
                        [% PROCESS options_for_libraries libraries => Branches.all( selected => branch_filter, unfiltered => 1 ) %]
44
                    </select>
44
                    </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/subscriptions-search.inc (-1 / +1 lines)
Lines 30-36 Link Here
30
              <li>
30
              <li>
31
                <label for="branch">Library:</label>
31
                <label for="branch">Library:</label>
32
                <select id="branch" name="branch_filter">
32
                <select id="branch" name="branch_filter">
33
                  <option value="">All</option>
33
                  <option value="">All libraries/branches</option>
34
                  [%# FIXME Should not we filter the libraries? %]
34
                  [%# FIXME Should not we filter the libraries? %]
35
                  [% PROCESS options_for_libraries libraries => Branches.all( selected => branch_filter, unfiltered => 1 ) %]
35
                  [% PROCESS options_for_libraries libraries => Branches.all( selected => branch_filter, unfiltered => 1 ) %]
36
                </select>
36
                </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt (-1 / +1 lines)
Lines 380-386 Link Here
380
                            <li>
380
                            <li>
381
                                <label for="branch">Library:</label>
381
                                <label for="branch">Library:</label>
382
                                <select id="branch" name="branch">
382
                                <select id="branch" name="branch">
383
                                    <option value="">All</option>
383
                                    <option value="">All libraries/branches</option>
384
                                    [%# FIXME Should not we filter the libraries %]
384
                                    [%# FIXME Should not we filter the libraries %]
385
                                    [% PROCESS options_for_libraries libraries => Branches.all( selected => branch, unfiltered => 1 ) %]
385
                                    [% PROCESS options_for_libraries libraries => Branches.all( selected => branch, unfiltered => 1 ) %]
386
                                </select>
386
                                </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt (-1 / +1 lines)
Lines 272-278 Link Here
272
                    <label for="branchlimit">Library: </label>
272
                    <label for="branchlimit">Library: </label>
273
                    <select name="branchlimit" id="branchlimit">
273
                    <select name="branchlimit" id="branchlimit">
274
                        [% IF CAN_user_superlibrarian || !Koha.Preference('IndependentBranches') %]
274
                        [% IF CAN_user_superlibrarian || !Koha.Preference('IndependentBranches') %]
275
                            <option value="">All</option>
275
                            <option value="">All libraries/branches</option>
276
                        [% END %]
276
                        [% END %]
277
                        [% PROCESS options_for_libraries libraries => Branches.all( selected => branchlimit, only_from_group => 1 ) %]
277
                        [% PROCESS options_for_libraries libraries => Branches.all( selected => branchlimit, only_from_group => 1 ) %]
278
                    </select>
278
                    </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt (-1 / +1 lines)
Lines 65-71 Link Here
65
                                    <label for="branchname" class="required"> Library branch</label>
65
                                    <label for="branchname" class="required"> Library branch</label>
66
                                    <select name="branch" id="branchname" required="required">
66
                                    <select name="branch" id="branchname" required="required">
67
                                        <option value=""> Choose</option>
67
                                        <option value=""> Choose</option>
68
                                        <option value="*" selected="selected">All</option>
68
                                        <option value="*" selected="selected">All libraries/branches</option>
69
                                        [% FOREACH library IN libraries %]
69
                                        [% FOREACH library IN libraries %]
70
                                            <option value="[% library.branchcode | html %]"> [% library.branchname | html %]</option>
70
                                            <option value="[% library.branchcode | html %]"> [% library.branchname | html %]</option>
71
                                        [% END %]
71
                                        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt (-1 / +1 lines)
Lines 111-117 Link Here
111
                <li>
111
                <li>
112
                    <label>Transaction library</label>
112
                    <label>Transaction library</label>
113
                    <select name="branch" id="branch">
113
                    <select name="branch" id="branch">
114
                        <option value="ALL">All</option>
114
                        <option value="ALL">All libraries/branches</option>
115
                        [% FOREACH branchloo IN branchloop %]
115
                        [% FOREACH branchloo IN branchloop %]
116
                            [% IF ( branchloo.selected ) %]
116
                            [% IF ( branchloo.selected ) %]
117
                            <option value="[% branchloo.branchcode | html %]" selected="selected">[% branchloo.branchname | html %]</option>
117
                            <option value="[% branchloo.branchcode | html %]" selected="selected">[% branchloo.branchname | html %]</option>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt (-1 / +1 lines)
Lines 148-154 Link Here
148
148
149
	<li><label for="barcodefilter">Barcode: </label><input type="text" name="barcodefilter" id="barcodefilter" size="6" /></li>
149
	<li><label for="barcodefilter">Barcode: </label><input type="text" name="barcodefilter" id="barcodefilter" size="6" /></li>
150
	<li><label for="branchfilter">Library: </label><select name="branchfilter" id="branchfilter">
150
	<li><label for="branchfilter">Library: </label><select name="branchfilter" id="branchfilter">
151
                <option value="">All</option>
151
                <option value="">All libraries/branches</option>
152
                [% PROCESS options_for_libraries libraries => Branches.all() %]
152
                [% PROCESS options_for_libraries libraries => Branches.all() %]
153
            </select></li>
153
            </select></li>
154
    <li><label for="itemtypesfilter">Item type: </label><select name="itemtypesfilter" id="itemtypesfilter">
154
    <li><label for="itemtypesfilter">Item type: </label><select name="itemtypesfilter" id="itemtypesfilter">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt (-2 / +1 lines)
Lines 45-51 Link Here
45
        [% IF can_change_library %]
45
        [% IF can_change_library %]
46
        <li><label for="branch">Library:</label>
46
        <li><label for="branch">Library:</label>
47
        <select id="branch" name="branch">
47
        <select id="branch" name="branch">
48
            <option value="">All</option>
48
            <option value="">All libraries/branches</option>
49
            [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %]
49
            [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %]
50
        </select>
50
        </select>
51
        </li>
51
        </li>
52
- 

Return to bug 31736