Dissable search for the Details column
This commit is contained in:
parent
27ca97af4f
commit
13db138427
1 changed files with 38 additions and 32 deletions
|
@ -37,7 +37,13 @@
|
|||
{{ super() }}
|
||||
<script>
|
||||
$(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();
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue