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 37-43 Link Here
37
                <li class="local">
37
                <li class="local">
38
                    <label for="branch">Library:</label>
38
                    <label for="branch">Library:</label>
39
                    <select id="branch" name="branch_filter">
39
                    <select id="branch" name="branch_filter">
40
                        <option value="">All</option>
40
                        <option value="">All libraries/branches</option>
41
                        [%# FIXME Should not we filter the libraries? %]
41
                        [%# FIXME Should not we filter the libraries? %]
42
                        [% PROCESS options_for_libraries libraries => Branches.all( selected => branch_filter, unfiltered => 1 ) %]
42
                        [% PROCESS options_for_libraries libraries => Branches.all( selected => branch_filter, unfiltered => 1 ) %]
43
                    </select>
43
                    </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 261-267 Link Here
261
                    <label for="branchlimit">Library: </label>
261
                    <label for="branchlimit">Library: </label>
262
                    <select name="branchlimit" id="branchlimit">
262
                    <select name="branchlimit" id="branchlimit">
263
                        [% IF CAN_user_superlibrarian || !Koha.Preference('IndependentBranches') %]
263
                        [% IF CAN_user_superlibrarian || !Koha.Preference('IndependentBranches') %]
264
                            <option value="">All</option>
264
                            <option value="">All libraries/branches</option>
265
                        [% END %]
265
                        [% END %]
266
                        [% PROCESS options_for_libraries libraries => Branches.all( selected => branchlimit, only_from_group => 1 ) %]
266
                        [% PROCESS options_for_libraries libraries => Branches.all( selected => branchlimit, only_from_group => 1 ) %]
267
                    </select>
267
                    </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 120-126 Link Here
120
                <li>
120
                <li>
121
                    <label>Transaction library</label>
121
                    <label>Transaction library</label>
122
                    <select name="branch" id="branch">
122
                    <select name="branch" id="branch">
123
                        <option value="ALL">All</option>
123
                        <option value="ALL">All libraries/branches</option>
124
                        [% FOREACH branchloo IN branchloop %]
124
                        [% FOREACH branchloo IN branchloop %]
125
                            [% IF ( branchloo.selected ) %]
125
                            [% IF ( branchloo.selected ) %]
126
                            <option value="[% branchloo.branchcode | html %]" selected="selected">[% branchloo.branchname | html %]</option>
126
                            <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