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".

#6 fivestar_views_star_count.patch2.51 KBquicksketch


riddleyw’s picture

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.

quicksketch’s picture

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

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.

Junro’s picture

subscribe :)

Flying Drupalist’s picture

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


Boobaa’s picture


quicksketch’s picture

Status: Active » Fixed
2.51 KB

I added this feature with the attached patch.

Status: Fixed » Closed (fixed)

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

prabhatjn’s picture

Version: 6.x-1.15 » 7.x-2.x-dev
Status: Closed (fixed) » Active


I am opening this issue for drupal 7. It need work there.