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:
Bianca Nenciu
2022-02-21 22:15:38 +02:00
committed by GitHub
parent ae1d2d957f
commit 94883dd326
2 changed files with 0 additions and 8 deletions

View File

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