summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 29c85da..05ee948 100644
--- a/main.go
+++ b/main.go
@@ -96,7 +96,7 @@ func recurPage() http.HandlerFunc {
func categoriesPage() http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
uid := userId(r)
- cats, _ := Q.GetCategories(r.Context(), uid)
+ cats, _ := Q.GetCategoriesOrdered(r.Context(), uid)
showTemplate(w, "categories", cats)
}
}