Searchs now appear latest first

When searching, stories now appear latest-first, same as the index and
author index pages.
This commit is contained in:
Robin Malley 2023-03-12 05:35:59 +00:00
parent adda5ab547
commit de63a8660c
1 changed files with 3 additions and 1 deletions

View File

@ -48,7 +48,9 @@ WHERE
<% local n,v,t = unpack(tag) -%>
<% n = (n == "-" and "NOT" or "") -%>
AND <%= n %> tags.tag = ?
<% end -%>
GROUP BY
posts.id
<% end -%>
ORDER BY
posts.post_time DESC
;