From 8333b3d1f06b27ff087f72297a9d6da71d38c048 Mon Sep 17 00:00:00 2001 From: Paul Liverman III Date: Tue, 1 May 2018 18:46:58 -0700 Subject: [PATCH] reordering tasks --- app.moon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.moon b/app.moon index 9513fe2..d654976 100644 --- a/app.moon +++ b/app.moon @@ -26,7 +26,7 @@ class Simplex extends Application [index: "/"]: => if @user @keys = APIKeys\select "WHERE user_id = ? ORDER BY created_at ASC", @user.id - @tasks = Tasks\select "WHERE user_id = ? ORDER BY created_at ASC", @user.id + @tasks = Tasks\select "WHERE user_id = ? ORDER BY done, created_at ASC", @user.id unless @keys and #@keys > 0 @keys = {APIKeys\create(@user)}