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.
It is related to this issue: https://www.drupal.org/node/2763975
I use rate (like) module and advpoll for one entity. When I vote a poll and then I like it, I get this (https://www.drupal.org/files/issues/votes_2.png). I shouldn't see two votes (the second one is a 'like' vote).
I've attached a patch for review (it adds a simple condition to get correct votes).
Comment | File | Size | Author |
---|---|---|---|
#4 | advpoll-fix_incorrects_items_at_votes_page-2827161-4.patch | 467 bytes | damianrobinson |
#2 | votes_2.png | 30.72 KB | alan-ps |
advpoll-incorrect_votes.patch | 892 bytes | alan-ps | |
Comments
Comment #2
alan-ps CreditAttribution: alan-ps commentedComment #3
alan-ps CreditAttribution: alan-ps commentedComment #4
damianrobinson CreditAttribution: damianrobinson commentedHI, don't think that is quite right, see amended patch.
Comment #5
alan-ps CreditAttribution: alan-ps commentedhi Damian, I agree that #4 looks better. RTBC
Comment #8
mikhailkrainiuk CreditAttribution: mikhailkrainiuk as a volunteer and at DrupalJedi commentedThank you!