Include ignored topics in Your Bookmarks page

If a user both bookmarks and ignores a topic, we should still show it in
the bookmarks page. They can unbookmark it if they don't want it in
there.
This commit is contained in:
Deimos
2020-01-13 16:15:14 -07:00
parent 983df2027d
commit 9dd41562a4

View File

@@ -42,6 +42,9 @@ def get_bookmarks(
.order_by(desc(bookmark_cls.created_time))
)
if post_cls == Topic:
query = query.include_ignored()
if before:
query = query.before_id36(before)