diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-08-18 23:07:09 -0600 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-08-18 23:07:09 -0600 |
commit | c3135306b32e3ee18c3c412fbb2ea81b455201d5 (patch) | |
tree | f7dd21fc9e0bab9b06a713a8218e52be777f1b15 /srv/src/post | |
parent | dfa9bcb9e23b10bb28973d1d27f05e04e8638320 (diff) |
drafts functionality added, needs a publish button still
Diffstat (limited to 'srv/src/post')
-rw-r--r-- | srv/src/post/draft_post.go | 1 |
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 { |