Browse Source

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.
merge-requests/88/head
Deimos 5 years ago
parent
commit
9dd41562a4
  1. 3
      tildes/tildes/views/bookmarks.py

3
tildes/tildes/views/bookmarks.py

@ -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)

Loading…
Cancel
Save