Topic-map-summary only shows the likes of the first post

Currently the topic-map-summary (showing links, views, likes) only shows the likes for the first post and not the total likes of the entire topic. Shouldn’t it show how many likes are in the thread since the bar’s purpose is to be an overview?

3 Likes

Wow you are right that is totally a bug! Can we fix that tomorrow @eviltrout? That will also need backporting…

Pretty sure the fix is changing numberNode(attrs.likeCount) to numberNode(attrs.topicLikeCount) in the topic-map widget.

3 Likes

Nice! If you want to PR it go for it!

1 Like

Thanks, I’ve accpted the PR:

https://github.com/discourse/discourse/commit/b1d04412dbc38bc5edd9b7a957e314c6684b2f93

It hasn’t deployed to meta yet but it should shortly. Thanks!

3 Likes