# Selecting posts+replies miscounts the number of posts

**URL:** <https://meta.discourse.org/t/selecting-posts-replies-miscounts-the-number-of-posts/229242>\
**Category:** Bug\
**Created:** [June 6, 2022, 7:18pm UTC](https://meta.discourse.org/t/selecting-posts-replies-miscounts-the-number-of-posts/229242 "2022-06-06T19:18:34Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![ghassan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ghassan/32/263566_2.png) [@ghassan](https://meta.discourse.org/u/ghassan)\
**Post date:** [June 14, 2022, 9:12am UTC](https://meta.discourse.org/t/selecting-posts-replies-miscounts-the-number-of-posts/229242/5 "2022-06-14T09:12:34Z")

</div>

I was just looking into this ~~but I couldn’t reproudce~~. (I am running the master of discourse last commit is e7e23e8d9ce73ac61b970d5192f9f4af90b3a87c)

I have created a topic, and did normal posts and reply posts. And I got consistant result. When I choose select+replies, it will autmotically select the post and its replies.

Note: The topic, posts and replies were all created by the same user.

Edit: I was able to reproduce when I unselect and then reselect. I think the porblem is when unselecting the “select+replies” and then unselect

- It will not unselect the replies
- When choosing the “select+replies” again, it will double select the replies (though already selected)

---

_[View the full topic](https://meta.discourse.org/t/selecting-posts-replies-miscounts-the-number-of-posts/229242)._
