# Group listing has incorrect number until clicked

**URL:** https://meta.discourse.org/t/group-listing-has-incorrect-number-until-clicked/26635
**Category:** Bug
**Created:** [March 22, 2015, 4:08pm UTC](https://meta.discourse.org/t/group-listing-has-incorrect-number-until-clicked/26635 "2015-03-22T16:08:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jesselperry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jesselperry/32/119501_2.png) [@jesselperry](https://meta.discourse.org/u/jesselperry)
#### Post date: [March 22, 2015, 4:08pm UTC](https://meta.discourse.org/t/group-listing-has-incorrect-number-until-clicked/26635/1 "2015-03-22T16:08:47Z")

</div>

I’m on v1.3.0.beta3 +67

Group listings in /admin/groups/custom have incorrect user count until I click the actual group, then it updates to the correct number. Minor visual bug. I’ve added some members to the groups via API, so not sure if that has any baring on this. But all of the members in the 2015 Workshop group (see below) were added via API, and the number is only off by 4, so not sure?

Before any clicks:

 ![](https://global.discourse-cdn.com/meta/original/3X/a/b/ab15db9f9c04912b215e40e9068088fcfaa3f21d.png)

After click Workshop\_2014 group:

 ![](https://global.discourse-cdn.com/meta/original/3X/e/2/e2e5fffcfd648aba2bd930d84f83380ae30dac6a.png)

After click Workshop\_2015 group:

 ![](https://global.discourse-cdn.com/meta/original/3X/d/d/dd155c45a3f75e6223db79b943b0741b66adac1c.png)

---

<div class="post-metadata">

### Author: ![jesselperry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jesselperry/32/119501_2.png) [@jesselperry](https://meta.discourse.org/u/jesselperry)
#### Post date: [March 22, 2015, 7:02pm UTC](https://meta.discourse.org/t/group-listing-has-incorrect-number-until-clicked/26635/2 "2015-03-22T19:02:38Z")

</div>

Just checked /admin/groups.json and the numbers in there are the incorrect number (but the accurate number shows with accurate members when I click, above). Maybe members I’ve deleted while testing?

---

<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: [March 25, 2015, 6:40pm UTC](https://meta.discourse.org/t/group-listing-has-incorrect-number-until-clicked/26635/3 "2015-03-25T18:40:46Z")

</div>

Thanks for reporting that issue. I just pushed a fix 🐵

[https://github.com/discourse/discourse/commit/3a28d50866b02c26e2de18fdad63d7963b9bfcf6](https://github.com/discourse/discourse/commit/3a28d50866b02c26e2de18fdad63d7963b9bfcf6)

---

<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: [March 25, 2015, 6:40pm UTC](https://meta.discourse.org/t/group-listing-has-incorrect-number-until-clicked/26635/4 "2015-03-25T18:40:47Z")

</div>


