Handle needs_unread on tag query. Move News to top of tag list
This commit is contained in:
@@ -8,6 +8,11 @@ SELECT
|
||||
FROM
|
||||
post AS p
|
||||
JOIN feed AS f ON p.site = f.slug
|
||||
WHERE
|
||||
(
|
||||
NOT $1
|
||||
OR NOT is_read
|
||||
)
|
||||
GROUP BY
|
||||
1,
|
||||
2
|
||||
|
||||
Reference in New Issue
Block a user