Aggregated click number on forum click counter

Ah, notice in the previous internal: true that should be in the query for false.

I did some testing on my localhost Discourse and got this from the same query as previous so this is the table you want

=> [#<TopicLink id: 80, topic_id: 86, post_id: 128, user_id: 27, url: "http://co
mmunity.sitepoint.com/", domain: "community.sitepoint.com", internal: false, lin
k_topic_id: nil, created_at: "2015-03-27 18:14:34", updated_at: "2015-03-27 18:1
4:34", reflection: false, clicks: 4, link_post_id: nil, title: nil, crawled_at:
nil, quote: false>]
3개의 좋아요