Refactor(dupes): filter dupes by PAID or NULL invoiceActionState (#2175)

This commit is contained in:
Bryan Mutai 2025-05-21 22:43:41 +03:00 committed by GitHub
parent 407c0a9b49
commit 5d4f88c3bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -652,7 +652,7 @@ export default {
query: ` query: `
${SELECT} ${SELECT}
FROM "Item" FROM "Item"
WHERE url ~* $1 WHERE url ~* $1 AND ("Item"."invoiceActionState" IS NULL OR "Item"."invoiceActionState" = 'PAID')
ORDER BY created_at DESC ORDER BY created_at DESC
LIMIT 3` LIMIT 3`
}, similar) }, similar)