Closed (won't fix)
Project:
Fivestar
Version:
6.x-1.19
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2011 at 22:19 UTC
Updated:
4 Mar 2014 at 08:24 UTC
Jump to comment: Most recent
Hi,
I think this may have been mentioned elsewhere but I cant find where. When using fivestar comments I cannot get the Views integration working properly.
For example, I have a view which displays the node titles, the comment counts, and the average comment rating.
Work fine when the node is rated by adding a node: vote results relationship, but when trying to add a comment: vote results relationship it doesnt function and returns a zero. Also, simply adding the relationship causes duplicate entries - one for each rated comment. This is sorted by using 'distinct' but Im guessing not the intended behaviour.
Any help much appreciated,
Thanks for a great module, Joe
Comments
Comment #1
grasmash commentedI'm running into a similar problem. I'd like to create a view that is basically an alternate to the Drupal default comments.tpl.php template.
I've easily set it up so that each comment for the current node is displayed in a table, but I cannot get the "Comment: Vote results" relationship to work at all. Attempting to show the rating that was given for each individual comment simply returns 0. By contrast, the "Node: Vote Results" relationship does work, but using that will merely give me the average rating for the parent node, NOT the rating for each comment. This functionality is present in the comment.tpl.php, but it does not seem that it can be duplicated in Views.
Any help would be appreciated!
Generated SQL statement is:
Comment #2
loparr commenteddid you ever solve this?
Comment #3
dpearcefl commentedDid anything ever happen with this?
Comment #4
whiteph commentedWe can no longer support the Drupal 6 version of Fivestar. It is in security maintenance mode only. When the Drupal 8 version of Fivestar is released, the Drupal 6 version will be officially deprecated.
Comment #5
whiteph commentedSee Help testing Drupal 6 patches.