aboutsummaryrefslogtreecommitdiff
path: root/acid.go
diff options
context:
space:
mode:
Diffstat (limited to 'acid.go')
-rw-r--r--acid.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/acid.go b/acid.go
index 350c9d8..cdf9007 100644
--- a/acid.go
+++ b/acid.go
@@ -244,7 +244,7 @@ var templateTasks = template.Must(template.New("tasks").Parse(`
`))
func handleTasks(w http.ResponseWriter, r *http.Request) {
- tasks, err := getTasks(r.Context(), `ORDER BY id DESC`)
+ tasks, err := getTasks(r.Context(), `ORDER BY changed DESC, id DESC`)
if err != nil {
http.Error(w,
"Error retrieving tasks: "+err.Error(),