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 commentedComment #3
alan-ps commentedComment #4
damianrobinson commentedHI, don't think that is quite right, see amended patch.
Comment #5
alan-ps commentedhi Damian, I agree that #4 looks better. RTBC
Comment #8
mikhailkrainiuk commentedThank you!