This commit is contained in:
albert
2013-01-24 17:53:42 -05:00
parent ba7ac2fdba
commit e36e9dda1e

View File

@@ -233,7 +233,7 @@ class PostQueryBuilder
relation = relation.order("log(3, posts.score) + (extract(epoch from posts.created_at) - extract(epoch from timestamp '2005-05-24')) / 45000 DESC")
else
relation = relation.where("false")
relation = relation.order("posts.id DESC")
end
relation