# What determines the order of frequent poster icons in the topic list?

**URL:** <https://meta.discourse.org/t/what-determines-the-order-of-frequent-poster-icons-in-the-topic-list/44669>\
**Category:** UX\
**Created:** [2016 年5 月 23 日 13:20 UTC](https://meta.discourse.org/t/what-determines-the-order-of-frequent-poster-icons-in-the-topic-list/44669 "2016-05-23T13:20:58Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

作者： ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
发布日期： [2016 年5 月 25 日 00:14 UTC](https://meta.discourse.org/t/what-determines-the-order-of-frequent-poster-icons-in-the-topic-list/44669/7 "2016-05-25T00:14:44Z")

</div>

I think I’ve found the file and the explanation for zogstrip with 2 posts coming before envieme with 4 posts.

in `app/models/topic_featured_users.rb`

There’s

```plaintext
  def self.count
    4
  end

```

and

```plaintext
  SELECT id, user_id, ROW_NUMBER() OVER(PARTITION BY id ORDER BY last_post_date ASC) as rank
  FROM cte
  WHERE rank <= #{count}

```

That is,  
the OP is always first  
then members that made more than 4 posts ordered by their number of posts descending  
then chronological  
last avatar always the last poster unless also the OP

Like or Trust Level are not considered.

---

_[View the full topic](https://meta.discourse.org/t/what-determines-the-order-of-frequent-poster-icons-in-the-topic-list/44669)._
