mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 09:08:10 +08:00
FIX: Bookmark UI tweaks (#9604)
* When hovering over the bookmark icon for a post, show the name of the bookmark at the end of the tooltip _if_ it has been set. * Order bookmarks by `updated_at DESC` in the user list and show that instead of created at.
This commit is contained in:
@ -27,8 +27,7 @@ class BookmarkQuery
|
||||
end
|
||||
|
||||
def list_all
|
||||
results = user_bookmarks
|
||||
.order('bookmarks.created_at DESC')
|
||||
results = user_bookmarks.order('bookmarks.updated_at DESC')
|
||||
|
||||
topics = Topic.listable_topics.secured(@guardian)
|
||||
pms = Topic.private_messages_for_user(@user)
|
||||
|
Reference in New Issue
Block a user