Fixed Multiple ajax calls when filtering

revert-70aa11f8
Imesh Chandrasiri 8 years ago committed by GitHub
parent 125b827f4f
commit 1546411814

@ -177,7 +177,7 @@ $.fn.datatables_extended_serverside_paging = function (settings , url, dataFilte
$(filterColumn.eq(column.index()).empty()).html('<input type="text" class="form-control" placeholder="Search ' + title + '" />'); $(filterColumn.eq(column.index()).empty()).html('<input type="text" class="form-control" placeholder="Search ' + title + '" />');
//noinspection SpellCheckingInspection //noinspection SpellCheckingInspection
filterColumn.eq(column.index()).find('input').on('keyup change', function () { filterColumn.eq(column.index()).find('input').on('keyup', function () {
column.search($(this).val()).draw(); column.search($(this).val()).draw();
}); });
} }

Loading…
Cancel
Save