Merge pull request #930 from stackernews/921-pinned-posts-in-hot
Don't filter by pins in home
This commit is contained in:
commit
60cf7760d7
|
@ -457,7 +457,8 @@ export default {
|
|||
LEFT JOIN "Sub" ON "Sub"."name" = "Item"."subName"
|
||||
${joinZapRankPersonalView(me, models)}
|
||||
${whereClause(
|
||||
'"Item"."pinId" IS NULL',
|
||||
// in "home" (sub undefined), we want to show pinned items (but without the pin icon)
|
||||
sub ? '"Item"."pinId" IS NULL' : '',
|
||||
'"Item"."deletedAt" IS NULL',
|
||||
'"Item"."parentId" IS NULL',
|
||||
'"Item".bio = false',
|
||||
|
|
Loading…
Reference in New Issue