Closed (fixed)
Project:
webform-fivestar
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
7 Mar 2011 at 12:37 UTC
Updated:
24 Mar 2011 at 18:41 UTC
A vote of 1 star gets displayed in the Results -> Analysis tab as a 2 star vote. I found this bug in a 7 star and 8 star layout.
Comments
Comment #1
carinadigital commentedThe fivestar module rounds up (ceil) all percentages. This may be something to look up later as when you transform votes from a four star system to a 10 star system it throws the analysis.
Comment #2
bazzic commentedIn _webform_analysis_fivestar, we need to apply ceil() to the star weight since that is how data is saved in the
db by fivestar. Committed to the 6.x-1.x branch.
Comment #3
carinadigital commentedComment #4
carinadigital commentedComment #5
carinadigital commentedComment #6
carinadigital commented