Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#7 | fivestar_dont_allow_revote_ajax-2686357-7.patch | 669 bytes | criz |
| |||
#2 | fivestar_rating_average_not_showing-2686357-1.patch | 677 bytes | vishnu358 |
|
Comments
Comment #2
vishnu358 CreditAttribution: vishnu358 commentedComment #3
vishnu358 CreditAttribution: vishnu358 commentedComment #4
vishnu358 CreditAttribution: vishnu358 commentedComment #5
rakesh.nimje84@gmail.com CreditAttribution: rakesh.nimje84@gmail.com commented#2 Working in my case.
Comment #6
vishnu358 CreditAttribution: vishnu358 commentedComment #7
crizThx, patch works for me.
Just corrected some coding style issues.
Comment #8
crizComment #9
jafacakes2011 CreditAttribution: jafacakes2011 at Upbeat Productions commentedHi, #7 worked nicely for me. Think it should be added when possible :)
Comment #10
dbt102 CreditAttribution: dbt102 commentedThanks for the patches and reviews
Comment #12
dbt102 CreditAttribution: dbt102 commentedComment #13
dbt102 CreditAttribution: dbt102 commentedComment #14
dbt102 CreditAttribution: dbt102 commented