# Topic deletion should clear assignment

**URL:** <https://meta.discourse.org/t/topic-deletion-should-clear-assignment/271996>\
**Category:** Bug\
**Tags:** assign, fixed\
**Created:** [July 18, 2023, 2:43pm UTC](https://meta.discourse.org/t/topic-deletion-should-clear-assignment/271996 "2023-07-18T14:43:33Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ganncamp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ganncamp/32/106199_2.png) [@ganncamp](https://meta.discourse.org/u/ganncamp)\
**Post date:** [July 18, 2023, 2:43pm UTC](https://meta.discourse.org/t/topic-deletion-should-clear-assignment/271996/1 "2023-07-18T14:43:33Z")

</div>

An internal user contacted me yesterday because he couldn’t find all the topics assigned to his group. The group count said (at the time) 2, but only one was listed.

Fast-forward to today, when I had time to look at it, and the count says 4 but only 3 are listed:

 ![Selection_1215](https://global.discourse-cdn.com/meta/original/4X/e/d/a/edacc8c1c351dafe1baf8462a0c4cf892bd0864e.png)

Fortunately \<cracks knuckles/\> we have [Data Explorer](https://meta.discourse.org/t/32566?silent=true) installed. It found all 4 for me:

 ![Selection_1216](https://global.discourse-cdn.com/meta/original/4X/2/2/0/2206f76ea8b33be166393f89388aa9cad5b4d2c0.png)

It turns out that somewhere between my assigning the topic and my colleague looking for it, the 4th was flagged by the user:

 ![Selection_1214](https://global.discourse-cdn.com/meta/original/4X/6/d/2/6d29dc4c4e4f9a1c27a814a3047ac1f12fa20c84.png)

and deleted by a 3rd colleague:

 ![Selection_1217](https://global.discourse-cdn.com/meta/original/4X/e/9/1/e91f1fc56800f0e5b3587a252c08790ca4294ea4.png)

IMO the assignment should have been removed as part of the deletion action.

---

_[View the full topic](https://meta.discourse.org/t/topic-deletion-should-clear-assignment/271996)._
