|
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 |
- |
|
|