# Show only liked posts in a thread

**URL:** <https://meta.discourse.org/t/show-only-liked-posts-in-a-thread/27460>\
**Category:** Feature\
**Created:** [11 أبريل 2015، 8:51م UTC](https://meta.discourse.org/t/show-only-liked-posts-in-a-thread/27460 "2015-04-11T20:51:32Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [12 أبريل 2015، 2:43ص UTC](https://meta.discourse.org/t/show-only-liked-posts-in-a-thread/27460/10 "2015-04-12T02:43:19Z")

</div>

If that is the right file (and not used only for Digest inclusion or the Top pages) then it looks as though it uses Likes by Moderators and posts by a members Trust Level

```ruby
  def filter
    @posts = if @min_replies && @topic.posts_count < @min_replies + 1
                []
              else
                filter_posts_liked_by_moderators
                setup_posts
                filter_posts_based_on_trust_level
                filter_posts_based_on_score
                sort_posts
              end
  end

```

---

_[View the full topic](https://meta.discourse.org/t/show-only-liked-posts-in-a-thread/27460)._
