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 384-390 Link Here
384
                            <li>
384
                            <li>
385
                                <label for="branch">Library:</label>
385
                                <label for="branch">Library:</label>
386
                                <select id="branch" name="branch">
386
                                <select id="branch" name="branch">
387
                                    <option value="">All</option>
387
                                    <option value="">All libraries/branches</option>
388
                                    [%# FIXME Should not we filter the libraries %]
388
                                    [%# FIXME Should not we filter the libraries %]
389
                                    [% PROCESS options_for_libraries libraries => Branches.all( selected => branch, unfiltered => 1 ) %]
389
                                    [% PROCESS options_for_libraries libraries => Branches.all( selected => branch, unfiltered => 1 ) %]
390
                                </select>
390
                                </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt (-1 / +1 lines)
Lines 254-260 Link Here
254
                    <label for="branchlimit">Library: </label>
254
                    <label for="branchlimit">Library: </label>
255
                    <select name="branchlimit" id="branchlimit">
255
                    <select name="branchlimit" id="branchlimit">
256
                        [% IF CAN_user_superlibrarian || !Koha.Preference('IndependentBranches') %]
256
                        [% IF CAN_user_superlibrarian || !Koha.Preference('IndependentBranches') %]
257
                            <option value="">All</option>
257
                            <option value="">All libraries/branches</option>
258
                        [% END %]
258
                        [% END %]
259
                        [% PROCESS options_for_libraries libraries => Branches.all( selected => branchlimit, only_from_group => 1 ) %]
259
                        [% PROCESS options_for_libraries libraries => Branches.all( selected => branchlimit, only_from_group => 1 ) %]
260
                    </select>
260
                    </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt (-1 / +1 lines)
Lines 64-70 Link Here
64
                                    <label for="branchname" class="required"> Library branch</label>
64
                                    <label for="branchname" class="required"> Library branch</label>
65
                                    <select name="branch" id="branchname" required="required">
65
                                    <select name="branch" id="branchname" required="required">
66
                                        <option value=""> Choose</option>
66
                                        <option value=""> Choose</option>
67
                                        <option value="*" selected="selected">All</option>
67
                                        <option value="*" selected="selected">All libraries/branches</option>
68
                                        [% FOREACH library IN libraries %]
68
                                        [% FOREACH library IN libraries %]
69
                                            <option value="[% library.branchcode | html %]"> [% library.branchname | html %]</option>
69
                                            <option value="[% library.branchcode | html %]"> [% library.branchname | html %]</option>
70
                                        [% END %]
70
                                        [% 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