Dissable search for the Details column

This commit is contained in:
Denis-Cosmin Nutiu 2017-05-14 00:35:09 +03:00
parent 27ca97af4f
commit 13db138427

View file

@ -37,7 +37,13 @@
{{ super() }} {{ super() }}
<script> <script>
$(document).ready(function () { $(document).ready(function () {
$table = $('#result-table').DataTable(); $table = $('#result-table').DataTable({
"columnDefs": [
{# Dissable search for the Details column. #}
{"searchable": false, "targets": 4}
]
}
);
$table.column('3:visible').order('desc').draw(); $table.column('3:visible').order('desc').draw();
}); });
</script> </script>