Show Number of Stars instead of Percentage in Views

riddleyw - April 2, 2009 - 15:52
Project:Fivestar
Version:6.x-1.15
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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

#1

riddleyw - April 2, 2009 - 15:55

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

quicksketch - April 29, 2009 - 03:51
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

Junro - April 29, 2009 - 09:04

subscribe :)

#4

Flying Drupalist - May 15, 2009 - 13:10
Version:6.x-1.13» 6.x-1.15

Subscribe.

#5

Boobaa - June 10, 2009 - 21:22

Subscribe.

#6

quicksketch - July 1, 2009 - 03:27
Status:active» fixed

I added this feature with the attached patch.

AttachmentSize
fivestar_views_star_count.patch 2.51 KB

#7

System Message - July 15, 2009 - 03:30
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.