From b07dc1305e79e4e090dd68ea1cee2934ad5abefc Mon Sep 17 00:00:00 2001 From: Sina Siadat Date: Wed, 13 May 2015 10:26:21 +0430 Subject: [PATCH] marking should not change the order of the note --- commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.go b/commands.go index 09acc45..c4f6f41 100644 --- a/commands.go +++ b/commands.go @@ -20,7 +20,7 @@ import ( // var globalOpts options // const orderby = "-frequency, -mark, CASE WHEN updated_at IS NULL THEN created_at ELSE updated_at END DESC" -const orderby = "-mark, CASE WHEN updated_at IS NULL THEN created_at ELSE updated_at END DESC" +const orderby = "CASE WHEN updated_at IS NULL THEN created_at ELSE updated_at END DESC" const defaultEditor = "vi" func cmdShow(db *sql.DB, opts options) bool {