I have nodes (Reviews) that contain fivestar ratings on other nodes (Products).
The aggregate rating on the node seems fine both in the Product node display and in any views. That is, if I have two reviews, one with 3 stars and one with 1 star, the aggregate shows 2 stars.
BUT
In one view, I added a Relationship: Aggregate results of votes cast on nodes, with settings:
Value Type: No Filter
Vote Tag: Overall Rating
Aggregate Function: Number of Votes

In the view I add a field The value of an individual cast vote. The numbers I'm receiving seem to have no bearing on the actual number of votes, sometimes it's higher, sometimes lower and sometimes correct. I am looking for the number of votes that went into the aggregate rating of the Product.

Have I defined something incorrectly or is there a bug?

Comments

torotil’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Could you please give us the SQL that's executed on the database? (you can find it below the view configuration when the preview is executed). Also an export of the view would be helpful.

pifagor’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (outdated)