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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt (-8 / +8 lines)
Lines 1-5 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE KohaDates %]
2
[% USE KohaDates %]
3
[% USE Branches %]
3
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog ›  Full subscription history for [% bibliotitle %]
4
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog ›  Full subscription history for [% bibliotitle %]
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %]
6
[% BLOCK cssinclude %]
Lines 26-35 Link Here
26
                            <h4>Refine your search</h4>
27
                            <h4>Refine your search</h4>
27
                            <form action="/cgi-bin/koha/opac-serial-issues.pl" id="filterform">
28
                            <form action="/cgi-bin/koha/opac-serial-issues.pl" id="filterform">
28
                                <fieldset>
29
                                <fieldset>
29
                                    <label for="libraryfilter">Library : </label>
30
                                    <label for="libraryfilter">Library: </label>
30
                                    <select id="libraryfilter" name="libraryfilter" style="width:10em;"></select>
31
                                    <select id="libraryfilter" name="libraryfilter" style="width:10em;"></select>
31
32
                                    <label for="subscriptionidfilter">Subscription: </label>
32
                                    <label for="subscriptionidfilter">Subscription : </label>
33
                                    <select id="subscriptionidfilter" name="subscriptionfilter" style="width:10em;" disabled="disabled"></select>
33
                                    <select id="subscriptionidfilter" name="subscriptionfilter" style="width:10em;" disabled="disabled"></select>
34
                                </fieldset>
34
                                </fieldset>
35
                                <fieldset class="action">
35
                                <fieldset class="action">
Lines 90-96 Link Here
90
                                                        &nbsp;
90
                                                        &nbsp;
91
                                                    [% END %]
91
                                                    [% END %]
92
                                                </td>
92
                                                </td>
93
                                                <td class="libraryfilterclass">[% serial.branchcode %]</td>
93
                                                <td class="libraryfilterclass">[% Branches.GetName( serial.branchcode ) %]</td>
94
                                                <td>[% serial.notes %]</td>
94
                                                <td>[% serial.notes %]</td>
95
                                                <td>
95
                                                <td>
96
                                                    [% IF ( serial.status2 && serial.planneddate ) %]
96
                                                    [% IF ( serial.status2 && serial.planneddate ) %]
Lines 174-186 Link Here
174
            });
174
            });
175
175
176
            // Setting the option values with branchcodes
176
            // Setting the option values with branchcodes
177
            $("#libraryfilter").append('<option value="all">(All)</option>');
177
            $("#libraryfilter").append('<option value="all">'+_("(All)")+'</option>');
178
            for (var i = 0; i < subarray.length; i++) {
178
            for (var i = 0; i < subarray.length; i++) {
179
                $("#libraryfilter").append('<option value="' + subarray[i] + '">' + subarray[i] + '</option>');
179
                $("#libraryfilter").append('<option value="' + subarray[i] + '">' + subarray[i] + '</option>');
180
            }
180
            }
181
        }
181
        }
182
182
183
        // Filter by Library
183
        // Filter by Library
184
184
        function filterByLibrary() {
185
        function filterByLibrary() {
185
186
186
            selectedStatus = $("#libraryfilter").val();
187
            selectedStatus = $("#libraryfilter").val();
Lines 205-211 Link Here
205
                if (subarray.indexOf($(this).text()) == -1) { subarray.push($(this).text()); }
206
                if (subarray.indexOf($(this).text()) == -1) { subarray.push($(this).text()); }
206
            });
207
            });
207
            // Setting the option values with subscription id's
208
            // Setting the option values with subscription id's
208
            $("#subscriptionidfilter").append('<option value="all">(All)</option>');
209
            $("#subscriptionidfilter").append('<option value="all">'+_("(All)")+'</option>');
209
            for (var i = 0; i < subarray.length; i++) {
210
            for (var i = 0; i < subarray.length; i++) {
210
                $("#subscriptionidfilter").append('<option value="' + subarray[i] + '">' + subarray[i] + '</option>');
211
                $("#subscriptionidfilter").append('<option value="' + subarray[i] + '">' + subarray[i] + '</option>');
211
            }
212
            }
Lines 248-254 Link Here
248
249
249
            // Remove old subscription options
250
            // Remove old subscription options
250
            $("#subscriptionidfilter option").remove();
251
            $("#subscriptionidfilter option").remove();
251
            $("#subscriptionidfilter option").append('<option value="all">(All)</option>');
252
            $("#subscriptionidfilter option").append('<option value="all">'+_("(All)")+'</option>');
252
            $("#subscriptionidfilter").attr("disabled", "disabled");
253
            $("#subscriptionidfilter").attr("disabled", "disabled");
253
254
254
            if (keeplibrary != true) {
255
            if (keeplibrary != true) {
255
- 

Return to bug 14269