- Affected version
- 2.3.11
There seem be some fixed issues regarding voting percentage, e.g.:
I just found this here on XF.com:

Source:
xenforo.com
-> 104% positive ratings
In
We get this query:
But this is an incorrect value, because we get the number of reviews, without rating. Instead of
Accordingly, because of this, the %...
getResourceRatingSplitWe get this query:
PHP:
$splitRatings = $this->app()->db()->fetchAllKeyed("
SELECT rating,
COUNT(*) AS total,
(COUNT(*) / ?) * 100 AS percentage
FROM xf_rm_resource_rating
WHERE resource_id = ?
AND rating_state = 'visible'
GROUP BY rating
", 'rating', [$resource->review_count, $resource->resource_id]);
review_count, there should be rating_countAccordingly, because of this, the %...
- kick
- Replies: 3
- Forum: Resource Manager resolved bugs
I just found this here on XF.com:

Source:
Signup abuse detection and blocking - Reviews
-> 104% positive ratings