tag pages should be ordered by created_at, not hotness
This commit is contained in:
parent
78f4da6699
commit
9554423d4f
|
@ -266,7 +266,7 @@ private
|
|||
end
|
||||
|
||||
order = "hotness"
|
||||
if how[:newest] || how[:recent]
|
||||
if how[:newest] || how[:recent] || how[:tag]
|
||||
order = "stories.created_at DESC"
|
||||
elsif how[:top]
|
||||
order = "(CAST(upvotes AS integer) - CAST(downvotes AS integer)) DESC"
|
||||
|
|
Loading…
Reference in a new issue