From c3135306b32e3ee18c3c412fbb2ea81b455201d5 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Thu, 18 Aug 2022 23:07:09 -0600 Subject: drafts functionality added, needs a publish button still --- srv/src/post/draft_post.go | 1 + 1 file changed, 1 insertion(+) (limited to 'srv/src/post') 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 { -- cgit v1.2.3