summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mulk/benki/book_marx.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mulk/benki/book_marx.clj b/src/mulk/benki/book_marx.clj
index 9eabfc1..0f6553b 100644
--- a/src/mulk/benki/book_marx.clj
+++ b/src/mulk/benki/book_marx.clj
@@ -128,7 +128,7 @@
(defpage "/marx/tags" {}
(with-auth
(with-dbt
- (sql/with-query-results tags ["SELECT tag FROM bookmark_tags"]
+ (sql/with-query-results tags ["SELECT DISTINCT tag FROM bookmark_tags ORDER BY tag ASC"]
(response/json (doall (map :tag tags)))))))
(defmacro ignore-errors [& body]