By default sort complete status for todolists
Adding the kind column removed the default sorting on the completion.
This commit is contained in:
parent
a218519cca
commit
d5b020c613
@ -60,10 +60,7 @@ <h2>Package Todo Lists</h2>
|
||||
<script type="text/javascript" src="{% static "archweb.js" %}"></script>
|
||||
<script type="text/javascript" nonce={{ CSP_NONCE }}>
|
||||
$(document).ready(function() {
|
||||
// I'm not sure why it didn't autodetect digit, but it has to be explicit
|
||||
// http://stackoverflow.com/questions/302749/jquery-tablesorter-problem
|
||||
$(".results").tablesorter({widgets: ['zebra'], sortList: [[6, 1], [1, 1]],
|
||||
headers: { 4: { sorter: 'digit' }, 5: { sorter: 'digit' } } });
|
||||
$(".results").tablesorter({widgets: ['zebra'], sortList: [[7, 1], [1, 1]]});
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user