Closed (won't fix)
Project:
Fivestar
Version:
6.x-1.20
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2009 at 08:13 UTC
Updated:
4 Mar 2014 at 08:21 UTC
Jump to comment: Most recent
A comments vote should not be counted when it is not approved.
Comments
Comment #1
ezra-g commentedJust bumping the version here. Agreed, would be nice to get this fixed and would be fairly trivial to do so.
Comment #2
jsims281 commentedI had to get this working quickly, so I hacked at the fivestar_get_votes function in fivestar.module.
There might be some bits I have ignored, but this seems to correctly display the right star rating now, and disregards comments which are not published.
This is what works for me (please shout out if you see any mistakes or improvements!):
Comment #3
codexmas commentedIs this still an issue?
Comment #4
MiMe commentedI don't know actually... haven't tried the module in a while
Comment #5
halloffame commentedStill an issue for me... Not comfortable with editing core but will try @jsims281's function.
Comment #6
halloffame commented@jsims281 function does not work for me...
Comment #7
halloffame commented@jsims281 applied against what version of fivestar?
Comment #8
halloffame commentedApplied against 6.x-1.20. Not working...
Comment #9
halloffame commentedComment #10
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 #11
whiteph commentedSee Help testing Drupal 6 patches.