We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a4bb7b commit 777a8c0Copy full SHA for 777a8c0
api/resolvers/item.js
@@ -41,7 +41,7 @@ function commentsOrderByClause (me, models, sort) {
41
if (sort === 'recent') {
42
return `ORDER BY ${sharedSorts},
43
("Item".cost > 0 OR "Item"."weightedVotes" - "Item"."weightedDownVotes" > 0) DESC,
44
- COALESCE(("payIn"->>'payInStateChangedAt')::timestamp(3), "Item".created_at) DESC, "Item".id DESC`
+ "Item".created_at DESC, "Item".id DESC`
45
}
46
47
if (sort === 'hot') {
0 commit comments