summaryrefslogtreecommitdiffstats
path: root/templates/todolists
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-03-12 00:30:50 +0100
committerDan McGee <dan@archlinux.org>2013-03-12 00:31:25 +0100
commit7ac078c8c1e731e65cbb20123987e5af1399d417 (patch)
treed728c177ef48ff91e8753e025e667d8cb88c063b /templates/todolists
parent00b9084303ccb27f7937a9392d2a582d25a04288 (diff)
downloadarchweb-7ac078c8c1e731e65cbb20123987e5af1399d417.tar.gz
archweb-7ac078c8c1e731e65cbb20123987e5af1399d417.tar.xz
Sort incomplete todolists first
And continue sorting by creation date after that. Turns out most people care about incomplete todolists more than complete ones. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/todolists')
-rw-r--r--templates/todolists/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/todolists/list.html b/templates/todolists/list.html
index 4e456d2..f30774f 100644
--- a/templates/todolists/list.html
+++ b/templates/todolists/list.html
@@ -49,7 +49,7 @@
$(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: [[1,1]],
+ $(".results").tablesorter({widgets: ['zebra'], sortList: [[6, 1], [1, 1]],
headers: { 4: { sorter: 'digit' }, 5: { sorter: 'digit' } } });
});
</script>