mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Show links with 0 clicks in top links section (#16016)
This is useful to moderators to see if users post spam links.
This commit is contained in:
@@ -40,7 +40,6 @@ class UserSummary
|
||||
.merge(Topic.listable_topics.visible.secured(@guardian))
|
||||
.where(user: @user)
|
||||
.where(internal: false, reflection: false, quote: false)
|
||||
.where('clicks > 0')
|
||||
.order('clicks DESC, topic_links.created_at DESC')
|
||||
.limit(MAX_SUMMARY_RESULTS)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user