Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: ezra-g commentedLooks good to me. This is committed. Thanks!