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:
parent
adda5ab547
commit
de63a8660c
|
@ -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
|
||||
;
|
||||
|
|
Loading…
Reference in New Issue