Filter positions to only include those with shares greater than zero in hashtag query
Build Images and Deploy / Update-PROD-Stack (push) Successful in 1m20s
Build Images and Deploy / Update-PROD-Stack (push) Successful in 1m20s
This commit is contained in:
@@ -39,7 +39,7 @@ export default async function HashtagPage({ params, searchParams }: Props) {
|
||||
take: 192, // 192 updates = 2 days of 15-min intervals
|
||||
},
|
||||
_count: {
|
||||
select: { positions: true },
|
||||
select: { positions: { where: { shares: { gt: 0 } } } },
|
||||
},
|
||||
relatedFrom: {
|
||||
orderBy: { coOccurrences: 'desc' },
|
||||
|
||||
Reference in New Issue
Block a user