# Ordering search results by total number of likes in topic

**URL:** <https://meta.discourse.org/t/ordering-search-results-by-total-number-of-likes-in-topic/89804>\
**Category:** Feature\
**Created:** [6월 13, 2018, 6:10오후 UTC](https://meta.discourse.org/t/ordering-search-results-by-total-number-of-likes-in-topic/89804 "2018-06-13T18:10:43Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![cpinter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpinter/32/99521_2.png) [@cpinter](https://meta.discourse.org/u/cpinter)\
**Post date:** [6월 13, 2018, 6:10오후 UTC](https://meta.discourse.org/t/ordering-search-results-by-total-number-of-likes-in-topic/89804/1 "2018-06-13T18:10:43Z")

</div>

The current operation of “Most Liked” ordering in search is like this:

1. In topic A, there are N liked replies, each getting M likes (total N\*M likes)
2. In the search result page topic A’s title appears N times, and each item in the result points to the individual replies

Instead, we are looking for an option to see the following behavior in case the condition described in 1 applies:

1. In the search result page every topic appears maximum once, ordered by the total number of likes in that topic, including the original post and the replies, which is in case of topic A is N\*M. The link of the item in the search result page points to the original post in the topic (i.e. the whole topic).

I hope I was unambiguous. Would this be possible? Thanks!

---

_[View the full topic](https://meta.discourse.org/t/ordering-search-results-by-total-number-of-likes-in-topic/89804)._
