# Topic Ratings Plugin

**URL:** <https://meta.discourse.org/t/topic-ratings-plugin/39578>\
**Category:** Plugin\
**Tags:** pavilion\
**Created:** [February 14, 2016, 9:06pm UTC](https://meta.discourse.org/t/topic-ratings-plugin/39578 "2016-02-14T21:06:53Z")\
**Posts on this page:** 1\
**Showing post:** 75

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [October 28, 2016, 7:24pm UTC](https://meta.discourse.org/t/topic-ratings-plugin/39578/75 "2016-10-28T19:24:39Z")

</div>

I’ve finished the refactoring. The logic is still quite complex so there may be some remaining issues, but I’ve tested it a fair bit.

[https://github.com/angusmcleod/discourse-ratings/commit/f83410310a945a701dc52e1e0999a53e6a41edcc](https://github.com/angusmcleod/discourse-ratings/commit/f83410310a945a701dc52e1e0999a53e6a41edcc)

> [@ewanly](#):
>
> The numbers still not rounded. if 3 users give 2, 2, 4 the ratings result became (2.3333333333333335) which is so eye catching!. Yes, you could hide it from the settings but then 2 of 5 stars is not giving a good idea as rating. Instead, putting (2.3) would be much better in my opinion.

New or updated ratings will be rounded to the nearest decimal place. If you edit a post with a rating in an existing topic this will prompt the rating to update to a rounded number.

> [@ewanly](#):
>
> The user after replying with Ratings, he could edit the reply but the rating change is not saved. Could be nice to allow the change in case if any user mistake correction.

This bug is fixed.

> [@ewanly](#):
>
> The topic which had ratings stars, is listed without stars when the selected view desktop\_category\_page\_style = Categories and Latest Topics (from Admin settings/basic setup/desktop category page style)

There are no plugin outlets in that view yet, so this is not (yet) possible. Right @zogstrip?

---

_[View the full topic](https://meta.discourse.org/t/topic-ratings-plugin/39578)._
