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
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | fivestar-module.patch.txt | 742 bytes | happysnowmantech |
| #2 | patch.txt | 787 bytes | anil614sagar |
Comments
Comment #1
ezra-g commentedThanks for pointing this out. Can you roll a patch for this so that others can test it?
Comment #2
anil614sagar commentedHi,
Thanks for the reply. Submitting patch here.
Cheers,
Anil
Comment #3
ezra-g commentedMarking as NR. Thanks!
Comment #4
happysnowmantech commentedI 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.
Comment #5
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. 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.