Hi,

I found a minor bug that whenever user rates a node , if average rating is enabled with user rating then average rating won't be updated till page refresh. This was happening later 6.x-1.13 versions. I found the solution for this. Basically you have to change the code in fivestar.js line no 352 below mentioned with later

- $('div.fivestar-form-'+voteResult.vote.id).each(function() {
+ $('div.fivestar-form-vote-'+voteResult.vote.id).each(function() {

Please commit these changes in the recent version.

Thanks,
Anil sagar

CommentFileSizeAuthor
#4 fivestar-module.patch.txt742 byteshappysnowmantech
#2 patch.txt787 bytesanil614sagar

Comments

ezra-g’s picture

Status: Active » Needs work

Thanks for pointing this out. Can you roll a patch for this so that others can test it?

anil614sagar’s picture

StatusFileSize
new787 bytes

Hi,

Thanks for the reply. Submitting patch here.

Cheers,
Anil

ezra-g’s picture

Status: Needs work » Needs review

Marking as NR. Thanks!

happysnowmantech’s picture

StatusFileSize
new742 bytes

I rolled another patch for this. It's almost identical to #2 except that I replaced the hardcoded 'vote' string with the variable voteResult.vote.tag.

whiteph’s picture

Issue summary: View changes
Status: Needs review » Closed (won't fix)

We 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. However, if a volunteer can be found who is willing to test patches for the Drupal 6 version, we could revert it to normal maintenance. See Help testing Drupal 6 patches.