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

This commit is contained in:
2026-04-29 22:45:51 -04:00
parent ad15792621
commit a03ab09d05
+1 -1
View File
@@ -39,7 +39,7 @@ export default async function HashtagPage({ params, searchParams }: Props) {
take: 192, // 192 updates = 2 days of 15-min intervals take: 192, // 192 updates = 2 days of 15-min intervals
}, },
_count: { _count: {
select: { positions: true }, select: { positions: { where: { shares: { gt: 0 } } } },
}, },
relatedFrom: { relatedFrom: {
orderBy: { coOccurrences: 'desc' }, orderBy: { coOccurrences: 'desc' },