Skip to content

Commit 5f262b7

Browse files
foutrelisjelly
authored andcommitted
todolists: restore ordering by status in list view
After removing the description column, status has become the 7th column instead of the 8th; fix the tablesorter call to use the correct number. Fixes: 74e24ff ("Leave descriptions out of todolist overview tables")
1 parent b8ea9d7 commit 5f262b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/todolists/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ <h2>Package Todo Lists</h2>
5858
<script type="text/javascript" src="{% static "archweb.js" %}"></script>
5959
<script type="text/javascript" nonce={{ CSP_NONCE }}>
6060
$(document).ready(function() {
61-
$(".results").tablesorter({widgets: ['zebra'], sortList: [[7, 1], [1, 1]]});
61+
$(".results").tablesorter({widgets: ['zebra'], sortList: [[6, 1], [1, 1]]});
6262
});
6363
</script>
6464
{% endblock %}

0 commit comments

Comments
 (0)