Posted by conutant on January 7, 2009 at 2:50am
Hello I am using views and the voting Api. I have a list of nodes that I want to display by votes in descending order.
I can get it to list by average but I really would like to make an algorithm that calculates the amount of votes and gives points to 5 stars 4 stars 3 stars 2 stars and 1 star.
For example:
5 stars = 2 points
4 stars = 1 point
3 stars = 0 points
2 stars = -1 point
1 star = -2 points
Thanks Guys!