# Bug when the category list receives a new subcategory that was just created

**URL:** https://meta.discourse.org/t/bug-when-the-category-list-receives-a-new-subcategory-that-was-just-created/91919
**Category:** UX
**Created:** [9 juli 2018 om 20:55 UTC](https://meta.discourse.org/t/bug-when-the-category-list-receives-a-new-subcategory-that-was-just-created/91919 "2018-07-09T20:55:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [9 juli 2018 om 20:55 UTC](https://meta.discourse.org/t/bug-when-the-category-list-receives-a-new-subcategory-that-was-just-created/91919/1 "2018-07-09T20:55:01Z")

</div>

Hi.  
So, if you’re on a Discourse page, and an admin creates a new subcategory, the category lists from your own page updates itself via ajax, which is good.  
It works well when a category is created, but there’s a bug if it’s a subcategory.

Here’s what the category selector displays when the admin create a subcategory **test** on the category **Autour d’une roue** :

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

As it is a subcategory, it should not be displayed among the parent categories. Plus, if you click on it, it leads to a 404.

You have to actually reload the page for the category list to be properly updated.

---

<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: [9 juli 2018 om 21:49 UTC](https://meta.discourse.org/t/bug-when-the-category-list-receives-a-new-subcategory-that-was-just-created/91919/2 "2018-07-09T21:49:38Z")

</div>

Please read the definition of bug in the category description – _prevents normal use of Discourse_. There’s no way this qualifies as that.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [9 juli 2018 om 22:02 UTC](https://meta.discourse.org/t/bug-when-the-category-list-receives-a-new-subcategory-that-was-just-created/91919/3 "2018-07-09T22:02:42Z")

</div>

Oh, sorry, alright. 🙂  
I thought clicking on a category that leads to a 404 would fit .
