Fivestar module is allowing to revote eventhough the options "Allow the users to revote" and "Allow the users to cancel ratings" are turned off. Actually it is giving the user an impression that it is allowing to revote, anyway it is not updating in the database. Also it is not displaying the average vote after voting in ajax. It will display the average only after reloading the page.

Please review my patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vishnu358 created an issue. See original summary.

vishnu358’s picture

vishnu358’s picture

Issue summary: View changes
vishnu358’s picture

Status: Active » Needs review
rakesh.nimje84@gmail.com’s picture

#2 Working in my case.

vishnu358’s picture

Issue tags: +Fivestar
criz’s picture

Title: Fivestar is allowing to revote and not displaying average. » Fivestar is allowing to revote on ajax despite settings
FileSize
669 bytes

Thx, patch works for me.
Just corrected some coding style issues.

criz’s picture

Version: 7.x-2.1 » 7.x-2.x-dev
Status: Needs review » Reviewed & tested by the community
jafacakes2011’s picture

Hi, #7 worked nicely for me. Think it should be added when possible :)

dbt102’s picture

Thanks for the patches and reviews

  • dbt102 committed cd62eb2 on 7.x-2.x authored by vishnu358
    Issue #2686357 by vishnu358, criz, dbt102: Fivestar is allowing to...
dbt102’s picture

dbt102’s picture

Status: Reviewed & tested by the community » Fixed
dbt102’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.