(Sorry if this is a duplicate question, but I cannot find it elsewhere in the list of issues.)

Using latest version of Drupal 6 core, Views2, Voting API, and Vote up/down:

I am attempting to use Views to display nodes (using row style = node) with various types of sorting. I'd like to sort the nodes by each node's total # of votes. However, in under the view's Sort Criteria, no vote data is available for sorting. I tried playing around with the relationships, but that doesn't seem to allow me to sort nodes by votes cast.

Thanks for any help.

Comments

vishun’s picture

+1

I'm also interested in specifically this setup and scenario

mgenovese’s picture

Anyone?

jcisio’s picture

Category: support » bug

Yes, in the built-in view, there is a sorting criteria by vote, but not when creating new view.

jcisio’s picture

Status: Active » Fixed

Oh after searching a while I solved this. In the the "relationship" box, check the "Node: vote result" option.

mgenovese’s picture

Category: bug » support
Priority: Normal » Major
Status: Fixed » Active

Ahh, gotcha. Thanks much jcisio!

mgenovese’s picture

Status: Active » Closed (fixed)