# Polls showing duplicate voters

**URL:** https://meta.discourse.org/t/polls-showing-duplicate-voters/102838
**Category:** Bug
**Created:** [November 27, 2018, 3:28am UTC](https://meta.discourse.org/t/polls-showing-duplicate-voters/102838 "2018-11-27T03:28:33Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![seanblue](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@seanblue](https://meta.discourse.org/u/seanblue)
#### Post date: [November 27, 2018, 3:28am UTC](https://meta.discourse.org/t/polls-showing-duplicate-voters/102838/1 "2018-11-27T03:28:33Z")

</div>

Polls are now showing duplicate voters. [For example](https://community.wanikani.com/t/%E6%99%82%E3%82%92%E3%81%8B%E3%81%91%E3%82%8B%E5%B0%91%E5%A5%B3-home-thread-beginner-book-club-starting-november-24th/33287/13?u=seanblue):

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/8/2837e687d8ba96d8aaa5a0a96bf8ec3b5b203ca2.png)

The one in the top-left corner is me. Interestingly enough, I switched my vote to another option and then switched back, and now I don’t show up at all. Even though my image doesn’t show up, there are still the same number of avatars displayed, though the order has also changed. Also, the total number of avatars shown does not match the total number of votes indicated by the number on the right-hand side of the poll.

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/8/3849d72a046555384792aef6680223cd0efc1648.png)

* * *

Here’s a second poll with this issue in case it helps:

> **[時をかける少女: Week 1 Discussion (Chapter 1)](https://community.wanikani.com/t/%E6%99%82%E3%82%92%E3%81%8B%E3%81%91%E3%82%8B%E5%B0%91%E5%A5%B3-week-1-discussion-chapter-1/33822)**
>
> Join the Beginner Book Club here! 時をかける少女 home thread Chapter 1: 理科教室の黒い影 Start Date: November 24th Next Chapter: Chapter 2 Vocabulary List Floflo Pre-learn the vocabulary in the book here: ...

---

<div class="post-metadata">

### Author: ![seanblue](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@seanblue](https://meta.discourse.org/u/seanblue)
#### Post date: [November 30, 2018, 1:48am UTC](https://meta.discourse.org/t/polls-showing-duplicate-voters/102838/3 "2018-11-30T01:48:09Z")

</div>

Just to update, it might have something to do with when you click the arrow to show more voters. Both of the polls mentioned above have enough voters that I needed to click the arrow to see everyone. Note that the first 25 avatars (those visible without clicking the arrow) have no duplicates within the first 25, and duplicates only appear after clicking the arrow.

Also, I just created an active poll that had two visible voters. The arrow appeared, indicating that a third person had just voted. When I clicked the arrow, five avatars total were displayed, including all three voters plus duplicates of the first two voters. Refreshing caused it to correctly display just the three voters, and since there was no longer an arrow there was no way to cause it to happen again.

---

<div class="post-metadata">

### Author: ![seanblue](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@seanblue](https://meta.discourse.org/u/seanblue)
#### Post date: [December 5, 2018, 10:24pm UTC](https://meta.discourse.org/t/polls-showing-duplicate-voters/102838/4 "2018-12-05T22:24:31Z")

</div>

Any progress on this one?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [December 6, 2018, 12:30am UTC](https://meta.discourse.org/t/polls-showing-duplicate-voters/102838/5 "2018-12-06T00:30:10Z")

</div>

I believe @zogstrip has a plan for this one, not sure what it is.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [December 7, 2018, 2:09pm UTC](https://meta.discourse.org/t/polls-showing-duplicate-voters/102838/7 "2018-12-07T14:09:29Z")

</div>

@nbianca, can you make sure we never show the same avatar/user twice by making sure the array only has **unique** values?

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [December 9, 2018, 7:16pm UTC](https://meta.discourse.org/t/polls-showing-duplicate-voters/102838/9 "2018-12-09T19:16:20Z")

</div>

Fixed in

[https://github.com/discourse/discourse/pull/6746](https://github.com/discourse/discourse/pull/6746)

---

<div class="post-metadata">

### Author: ![seanblue](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@seanblue](https://meta.discourse.org/u/seanblue)
#### Post date: [December 14, 2018, 1:19am UTC](https://meta.discourse.org/t/polls-showing-duplicate-voters/102838/10 "2018-12-14T01:19:21Z")

</div>

Can you push this change out to [https://community.wanikani.com](https://community.wanikani.com)? I’m still seeing the issue there.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [December 20, 2018, 2:19pm UTC](https://meta.discourse.org/t/polls-showing-duplicate-voters/102838/11 "2018-12-20T14:19:33Z")

</div>

Not seeing any duplicates anymore 🧐

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [December 20, 2018, 2:19pm UTC](https://meta.discourse.org/t/polls-showing-duplicate-voters/102838/12 "2018-12-20T14:19:35Z")

</div>


