Lena asked if it’s possible to see which posts received the most likes in the statistics overview. dax provided two methods to achieve this: an easy way by using the URL parameters ?order=likes or ?order=op_likes, and a hard way by using the Data Explorer plugin.
However, smrtey reported an issue with the search method, which codinghorror clarified was due to the search query returning posts the user has liked, not their most liked posts.
smrtey also raised a concern about a post with 22 likes not appearing in the search results, which Stephen explained was due to incorrect search syntax.
Finally, Bathinda asked if it’s possible to find a list of posts made by a specific user that have been liked by at least one other member.
We are currently setting up our own discourse forum and I would like to know whether there is a way to see which posts received the most likes. I looked for such feature in the statistics overview but couldn’t find anything. Then again, I might have not looked properly as I am still only getting used to all these features. Thanks for your help!
discourse.example.com/?order=likes (likes gives in all topics) discourse.example.com/?order=op_likes (likes gives in OP topic aka first post of each topic)
or discourse.example.com/search type in:likes and order results by “most liked”
Ok, so if that query is a list of posts I’ve liked and not my most liked posts, why does it return any of my posts? And what about this search from our forum. If I search for most liked posts I get
In the post from @dax the search term offered is in:likes whereas in your screenshots you’re adding a space and searching for in: likes - you’re adding a space between the operator and argument.
Look at the right hand side - when used correctly in:likes searches for posts you have liked. It automatically checks that box. When you add the space you’re actually searching for posts which contain the word likes: