robertgarrigos's picture

I'm having a hard time to get a view to show comments for a specific node id sorted by vote results. I manage to get the view, but the sorting is not working. I added the relationship to the vote results and the sort criteria, but they are not sorted by votes. I don't know whether it is a bug within voting api or I'm doing something wrong.

Anyone had done it before?

Thanks.

Robert.

Accepted answer

I wasn't doing it right: the sort criteria should be set to 'Vote results: value', not the 'Vote results: function'.

Comments

robertgarrigos's picture

I wasn't doing it right: the sort criteria should be set to 'Vote results: value', not the 'Vote results: function'.