Can I see in the statistics which post received the most likes

AI-generated summary

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.

Hi,

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!

Easy way:

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”

Hard way:
write a query for this and use Data Explorer plugin

これは正しく動作していないようです。ここでの自分のユーザーページにアクセスすると、自分の「いいね」が最も多い投稿のリストが表示されます。

検索を使って自分の「いいね」が最も多い投稿を見つけようとすると、トップ 4 の投稿が表示されません。

自分の投稿に「いいね」することはできないため、検索クエリは意味を成しません。

なるほど、そのクエリが「私がいいねした投稿のリスト」であって「私が最もいいねした投稿」ではないなら、なぜ私の投稿が返ってくるのでしょうか?そして、フォーラムからのこの検索はどうでしょうか。「最もいいねされた投稿」で検索すると、以下のような結果になります。

なぜこの投稿がリストに含まれていないのかわかりません。22 いいねは 21 いいねより多いはずです。

正しい検索構文を使用していません。

@dax さんの投稿では検索語として in:likes が提示されていますが、あなたのスクリーンショットではスペースを追加して in: likes と検索しています。演算子と引数の間にスペースを追加してしまっています。

違いに気づきましたか:

右側を見てみましょう。正しく使用された in:likes は、あなたがいいねをした投稿 を検索します。自動的にそのチェックボックスが選択されます。スペースを追加すると、実際には**「likes」という単語を含む投稿**を検索することになります:

おそらく 22 いいね の投稿には「likes」という単語が含まれていないため、検索クエリでは結果として返されないでしょう。

追記:確認しました。unstuckpolitics.com で該当のトピックを見つけました。一致しないクエリでは結果として返されません。

「example」というユーザーが投稿したすべての投稿のうち、少なくとも他のメンバーに1回でも「いいね」されたもののリストを取得する方法はありますか?