From 7ac078c8c1e731e65cbb20123987e5af1399d417 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 11 Mar 2013 18:30:50 -0500 Subject: 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 --- templates/todolists/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/todolists/list.html b/templates/todolists/list.html index 4e456d28..f30774fe 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' } } }); }); -- cgit v1.2.3-55-g3dc8