mirror of
https://gitlab.com/tildes/tildes.git
synced 2026-04-17 14:59:11 +02:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user