# Impossible de voir qui a voté pour un sujet clos

**URL:** https://meta.discourse.org/t/cant-view-who-voted-for-a-closed-topic/403286
**Category:** Bug
**Tags:** topic-voting, fixed
**Created:** [Mai 19, 2026, 4:56 UTC](https://meta.discourse.org/t/cant-view-who-voted-for-a-closed-topic/403286 "2026-05-19T04:56:35Z")
**Posts on this page:** 1
**Showing post:** 3

<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: [Mai 26, 2026, 4:53 UTC](https://meta.discourse.org/t/cant-view-who-voted-for-a-closed-topic/403286/3 "2026-05-26T16:53:53Z")

</div>

Serra corrigé par

> <https://github.com/discourse/discourse/pull/40314>
>
> Previously, opening the "who voted" popup on a closed topic returned an empty li…st even though the vote count still showed the correct total. The same was true for any topic whose votes had been archived (e.g. moved out of a voting category, or trashed).
> 
> This was a regression from #39394, which added \`votes.active\` to \`Topic#who\_voted\` alongside the same filter applied to "my votes" and \`/topics/voted-by/:username\`. That filter is correct for those per-user listings — you don't want closed-topic votes polluting "your votes" — but the \`who\_voted\` popup is about historical participation on a specific topic, not per-user vote accounting.
> 
> This change drops \`.active\` from \`Topic#who\_voted\` so archived votes are included, restoring the pre-regression behaviour. The accounting filters in \`Votes::Remove\`, \`User#topics\_with\_active\_vote\`, the voted-topics query, and the \`current\_user\_voted\` flag are unchanged.
> 
> https://meta.discourse.org/t/403286

---

_[View the full topic](https://meta.discourse.org/t/cant-view-who-voted-for-a-closed-topic/403286)._
