Hi all.
I am using the userreview module to allow people to vote on nodes. What I'm trying to do is create a new view (a block view) that will show the top 10 rated nodes. It will display the title of the node and the current average rating.
As a test, I create two nodes, MyNode1 and MyNode2. I then voted twice on MyNode1, the first time giving it a rating of 3 and then a rating of 2. The average rating of MyNode1 is now 2.5. I then voted twice on MyNode2, the first rating was a 10, the second was a 9, giving it a average rating of 9.5.
I want my view to display:
MyNode2 9.5
MyNode1 2.5
In my view, I've selected to display two fields, "Node: Title" and "VotingAPI: Voting Results". But, I can't find the correct combination of filters to display what I want. The closest I can get is:
MyNode2 10
MyNode2 9.5
MyNode1 3
MyNode1 2.5
What it's showing is the average after the first vote, then the average after the second vote for each node.
I found this (http://drupal.org/node/53342) in the votingapi bug/feature request tracker, which suggests that 1) it is technically possible and 2) support for the cache values was greatly enhanced in CVS.
I did update my votingapi and views modules to the CVS, but to no avail. (In fact, I didn't see any changes in the views UI with respect to the votingapi cache values).
Any help would be appreciated.