summaryrefslogtreecommitdiff
path: root/srv/src/post
diff options
context:
space:
mode:
Diffstat (limited to 'srv/src/post')
-rw-r--r--srv/src/post/draft_post.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/srv/src/post/draft_post.go b/srv/src/post/draft_post.go
index af52965..61283c3 100644
--- a/srv/src/post/draft_post.go
+++ b/srv/src/post/draft_post.go
@@ -88,6 +88,7 @@ func (s *draftStore) get(
SELECT
p.id, p.title, p.description, p.tags, p.series, p.body
FROM post_drafts p
+ ` + where + `
ORDER BY p.id ASC`
if limit > 0 {