Implement unread filtering on threads

This commit is contained in:
Bill Thiede 2024-07-21 15:12:32 -07:00
parent 0bf64004ff
commit abaaddae3a

View File

@ -4,7 +4,9 @@ FROM
post
WHERE
site = $1
AND (
NOT $2
OR NOT is_read
)
ORDER BY
date DESC
LIMIT
10