Make table ordering desceding after score
This commit is contained in:
parent
3a4b01ad60
commit
e285131e8b
1 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,8 @@
|
|||
{{super()}}
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('#result-table').DataTable();
|
||||
$table = $('#result-table').DataTable();
|
||||
$table.column('3:visible').order('desc').draw();
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
Loading…
Reference in a new issue