Download & Extend

Make fivestar_views_value_text_handler() obey Views "Round" field option

Project:Fivestar
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

AttachmentSizeStatusTest resultOperations
fivestar_views_round.patch343 bytesIgnored: Check issue status.NoneNone

Comments

#1

Status:needs review» fixed

Looks good to me. This is committed. Thanks!

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here