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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (+4 lines)
Lines 38-43 Link Here
38
                            <h3>Filters</h3>
38
                            <h3>Filters</h3>
39
                            <ol>
39
                            <ol>
40
                                <li>
40
                                <li>
41
                                    <label for="illfilter_keyword">Keyword:</label>
42
                                    <input type="text" name="illfilter_keyword" id="illfilter_keyword" />
43
                                </li>
44
                                <li>
41
                                    <label for="illfilter_status">Status:</label>
45
                                    <label for="illfilter_status">Status:</label>
42
                                    <select name="illfilter_status" id="illfilter_status">
46
                                    <select name="illfilter_status" id="illfilter_status">
43
                                        <option value=""></option>
47
                                        <option value=""></option>
(-)a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js (-1 / +21 lines)
Lines 116-121 $(document).ready(function() { Link Here
116
                $('#illfilter_patron').val('');
116
                $('#illfilter_patron').val('');
117
            }
117
            }
118
        },
118
        },
119
        keyword: {
120
            listener: function () {
121
                var me = 'keyword';
122
                $('#illfilter_keyword').change(function () {
123
                    var val = $('#illfilter_keyword').val();
124
                    if (val && val.length > 0) {
125
                        activeFilters[me] = function () {
126
                            table.api().search(val);
127
                        }
128
                    } else {
129
                        if (activeFilters.hasOwnProperty(me)) {
130
                            delete activeFilters[me];
131
                        }
132
                    }
133
                });
134
            },
135
            clear: function () {
136
                $('#illfilter_keyword').val('');
137
            }
138
        },
119
        dateModified: {
139
        dateModified: {
120
            clear: function() {
140
            clear: function() {
121
                $('#illfilter_datemodified_start, #illfilter_datemodified_end').val('');
141
                $('#illfilter_datemodified_start, #illfilter_datemodified_end').val('');
Lines 455-460 $(document).ready(function() { Link Here
455
                'sPaginationType': "full_numbers", // Pagination display
475
                'sPaginationType': "full_numbers", // Pagination display
456
                'deferRender': true, // Improve performance on big datasets
476
                'deferRender': true, // Improve performance on big datasets
457
                'data': dataCopy,
477
                'data': dataCopy,
478
                "dom": '<"top pager"<"table_entries"ilp><"table_controls"B>>tr<"bottom pager"ip>',
458
                'columns': colData,
479
                'columns': colData,
459
                'originalData': data, // Enable render functions to access
480
                'originalData': data, // Enable render functions to access
460
                                        // our original data
481
                                        // our original data
461
- 

Return to bug 25614