Closed (won't fix)
Project:
Fivestar
Version:
6.x-1.19
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2010 at 18:16 UTC
Updated:
4 Mar 2014 at 07:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
madaerodog commentedWhen you edit the field in the views panel you have this option
Hide if empty
Do not display anything for this field if it is empty. Note that the field label may still be displayed. Check style or row style settings to hide labels for empty fields.
See if it helps ..
Comment #2
peter.walter commentedI found the same thing - there appears to be a bug in fivestar_comment.module when interpreting the array from _fivestar_cast_vote. This means that all ratings in the database are stored as 0.
Attached is a patch to fix.
Comment #3
boogsbobo commented@ expandonline I applied your patch from #2 and also from http://drupal.org/node/859808#comment-3518436
But I still cant get this working.
Am I clear that part of your patch in #2 involves creating the new file at the location modules/fivestar/views/fivestar.views.inc ?
also i did not understand the last line of above mentioned module:
could you elaborate? Thanks
Comment #4
peter.walter commentedAs it says, it simply means that I must have missed a carriage return when I wrote the function - it shouldn't be important and it should be fine for 'patch' to create the file.
If you can elaborate on your problem, I may be able to help.
Comment #5
boogsbobo commentedsorry, i applied the patch manually.
I am basically having the exact problem as OP. I have tried any combination of relationships and arguments, and I keep getting the grey empty stars (indicating that there is no star rating stored for the comment).
After I added your two patches, I didnt notice any different behavior. Is there supposed to be a new relationship choice available now? Thanks!
Comment #6
YK85 commentedsubscribing
Comment #7
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 #8
whiteph commentedSee Help testing Drupal 6 patches.