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


(Steven Slade) #1

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?


(Jeff Atwood) #2

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


(Steven Slade) #3

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


(Jeff Atwood) #4

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


(Robin Ward) #5

Thanks, I’ve accpted the PR:

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


(Jeff Atwood) #6