Closed (fixed)
Project:
Fivestar
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Oct 2009 at 20:00 UTC
Updated:
18 Oct 2009 at 16:10 UTC
The handler: fivestar_views_value_text_handler(), labeled "Fivestar Stars (text star count)", hardcodes a rounding function into the value. For statistical analysis purposes, it would be better if the value was a true float, and the user could specify the rounding precision in the View. Fortunately, Views 2 has that functionality, so here's a patch that utilizes it for this handler.
| Comment | File | Size | Author |
|---|---|---|---|
| fivestar_views_round.patch | 343 bytes | shawn dearmond |
Comments
Comment #1
ezra-g commentedLooks good to me. This is committed. Thanks!