Hi,
I want to sort nodes by sum of all stars, which was given to node (not by average rate)?

Comments

Luna Vulpo’s picture

Category: support » bug

I find a way but this not work like it should.
I add relationship "Vote results" and there I set up:
Value type: points
Aggregation function: Total score.
This settings gave me a field "(Vote results) Vote results: Value" but there is nothing.
But when I change to:

Value type: percent
Aggregation function: Average vote

the filed "(Vote results) Vote results: Value" has correct value. But only in this case works fine, what other I set, it gave me wrong result.

Energyblazar’s picture

Try using voting rules and rules and fivestar....

ericduran’s picture

You need to use

Value type: percent
Aggregation function: Average vote

This is the only type of data fivestar stores. After that you can just used the fivestar widget to display the stars.

Not really a bug report. Also this is probably more fleshed out in the dev version because of some views/related changes that happend in dev.

whiteph’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

Please test with 7.x-2.1 release and report back, as there have been a lot of fixes applied since then.