Download & Extend

Show Number of Stars instead of Percentage in Views

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

Issue Summary

I have a view that is set to show the number of stars as a numeral, not as the graphic of stars. Instead of showing the number of stars it is outputting the percentage...ie: 100 instead of "5".

Comments

#1

Also, if i select (in Views2, fields options) to display the field as a percentage, it outputs the field label, but no value. Btw, works fine, if i just use the graphic.

#2

Title:Views Issue» Show Number of Stars instead of Percentage in Views
Category:bug report» feature request

This isn't a bug, it's the way VotingAPI displays vote data. I'll move this to a feature request to make the number of stars be a display option.

#3

subscribe :)

#4

Version:6.x-1.13» 6.x-1.15

Subscribe.

#5

Subscribe.

#6

Status:active» fixed

I added this feature with the attached patch.

AttachmentSizeStatusTest resultOperations
fivestar_views_star_count.patch2.51 KBIgnored: Check issue status.NoneNone

#7

Status:fixed» closed (fixed)

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

nobody click here