How can a topic be considered `Top`?


(Lê Trần Đạt) #1

I can see from our Top menu:

  • the topic “Less Frequent…” is 1st
  • the topic “Should be…” is 3rd

While 3rd topic has more replies and views and same last activity.

The only different I can find is the creation day of 3rd topic is much older than 1st topic. Could anyone explain me how do we calculate the “hot” or “top” score of a topic?


What is the default ordering for TOP list?
(Jeff Atwood) #2

It’s in the source code, of course, don’t have the location off the top of my head…


(Lê Trần Đạt) #3

I did a little search in the code but I don’t know Ruby. However, I will search it again :smiley: Thanks.


(Robin Ward) #4

The code starts here: