# Sub-sub-categories

**URL:** https://meta.discourse.org/t/sub-sub-categories/139309
**Category:** Support
**Created:** [January 21, 2020, 3:42pm UTC](https://meta.discourse.org/t/sub-sub-categories/139309 "2020-01-21T15:42:30Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![rogerco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rogerco/32/161338_2.png) [@rogerco](https://meta.discourse.org/u/rogerco)
#### Post date: [January 21, 2020, 3:42pm UTC](https://meta.discourse.org/t/sub-sub-categories/139309/1 "2020-01-21T15:42:30Z")

</div>

The [release notes for 2.4.0.beta9](https://meta.discourse.org/t/discourse-2-4-0-beta9-release-notes/136517) make various references to sub-sub-categories.

Are these actually enabled in this release, or are they coming soon?

On a related point is there a roadmap for future releases available anywhere?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [January 21, 2020, 3:46pm UTC](https://meta.discourse.org/t/sub-sub-categories/139309/2 "2020-01-21T15:46:00Z")

</div>

They are currently behind a hidden site setting, `max_category_nesting`. Should you wish to test them out, modify the site setting via the console to `3` instead of `2`.

> [@rogerco](#):
>
> On a related point is there a roadmap for future releases available anywhere?

Sure, see the #releases category for a high-level overview of planned features.

---

<div class="post-metadata">

### Author: ![rogerco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rogerco/32/161338_2.png) [@rogerco](https://meta.discourse.org/u/rogerco)
#### Post date: [January 21, 2020, 3:52pm UTC](https://meta.discourse.org/t/sub-sub-categories/139309/3 "2020-01-21T15:52:42Z")

</div>

Great, thanks - I was searching for roadmap because I assumed that releases were what had already been released… :doh: (wot, no Homer emoticon! )

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [January 23, 2020, 6:13pm UTC](https://meta.discourse.org/t/sub-sub-categories/139309/4 "2020-01-23T18:13:55Z")

</div>

> [@jomaxro](#):
>
> currently behind a hidden site setting

Is there any reasonable chance this setting will be going away? In other words, how “safe” is it to use for production use as a data structure, even if the UX changes significantly?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [January 23, 2020, 9:32pm UTC](https://meta.discourse.org/t/sub-sub-categories/139309/5 "2020-01-23T21:32:27Z")

</div>

> [@downey](#):
>
> Is there any reasonable chance this setting will be going away?

There is not, no. The setting is here to stay. We’ve chosen to make it hidden as we want to encourage sites to strongly think about their IA (dfn) and if they can make it work with just 1-level of subcategories. Also, the UX of this change is still in flux, as we iron everything out.

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [January 23, 2020, 9:33pm UTC](https://meta.discourse.org/t/sub-sub-categories/139309/6 "2020-01-23T21:33:17Z")

</div>

> [@jomaxro](#):
>
> strongly think about their IA

Yeah agree, that makes very good sense. We are only considering it for internal administrative type stuff that already has a lot of hierarchy, and those categories would be hidden from non-staff.

---

<div class="post-metadata">

### Author: ![Michael\_Uray](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/michael_uray/32/183119_2.png) [@Michael\_Uray](https://meta.discourse.org/u/Michael_Uray)
#### Post date: [July 12, 2020, 9:28am UTC](https://meta.discourse.org/t/sub-sub-categories/139309/7 "2020-07-12T09:28:47Z")

</div>

Quick guide to set it from 2 (default) to 3 via the console:

```
cd /var/discourse/
./launcher enter app
rails c

```

read current value:

```
[1] pry(main)> SiteSetting.max_category_nesting
=> 2

```

write new value:

```
[2] pry(main)> SiteSetting.max_category_nesting = 3
=> 3

```

---

<div class="post-metadata">

### Author: ![justin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin/32/157614_2.png) [@justin](https://meta.discourse.org/u/justin)
#### Post date: [September 15, 2020, 7:34pm UTC](https://meta.discourse.org/t/sub-sub-categories/139309/8 "2020-09-15T19:34:41Z")

</div>

6 posts were split to a new topic: [Cannot move sub-sub-category from UI](https://meta.discourse.org/t/cannot-move-sub-sub-category-from-ui/164130)

---

<div class="post-metadata">

### Author: ![thaidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thaidb/32/68488_2.png) [@thaidb](https://meta.discourse.org/u/thaidb)
#### Post date: [December 18, 2020, 12:14pm UTC](https://meta.discourse.org/t/sub-sub-categories/139309/10 "2020-12-18T12:14:20Z")

</div>

Hello jomaxro, whatever can you teach me up level category to 4 or up to 5?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [December 18, 2020, 8:57pm UTC](https://meta.discourse.org/t/sub-sub-categories/139309/11 "2020-12-18T20:57:00Z")

</div>

There is no support for category nesting greater than 3.

---

<div class="post-metadata">

### Author: ![Monte\_Kalisch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/monte_kalisch/32/175020_2.png) [@Monte\_Kalisch](https://meta.discourse.org/u/Monte_Kalisch)
#### Post date: [January 5, 2021, 10:59pm UTC](https://meta.discourse.org/t/sub-sub-categories/139309/12 "2021-01-05T22:59:50Z")

</div>

This seems like an awkward implementation for users. After setting up sub categories and then later [wanting to move](https://meta.discourse.org/t/trying-to-move-a-category-but-getting-you-cant-nest-a-subcategory-under-another-error) them, I ran across this level restriction. I had to adjust my implementation as a result.

And now I see that it’s possible to have more levels … but (a) the feature is hidden and undocumented and (b) it’s still limited to 3.

I appreciate the update and work, but just don’t understand the restrictions and how they’re supposed to make sense to implementers.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [January 5, 2021, 11:26pm UTC](https://meta.discourse.org/t/sub-sub-categories/139309/13 "2021-01-05T23:26:07Z")

</div>

We haven’t designed the UI or tested performance beyond 3 category levels, so we don’t support it. Supporting 3 is meant to cover some exceptions and wasn’t intended to be the norm, which is why it’s not easily discoverable.

---

<div class="post-metadata">

### Author: ![thaidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thaidb/32/68488_2.png) [@thaidb](https://meta.discourse.org/u/thaidb)
#### Post date: [April 14, 2021, 2:27pm UTC](https://meta.discourse.org/t/sub-sub-categories/139309/15 "2021-04-14T14:27:08Z")

</div>

I meet this error:  
I can create a topic in sub sub category (A) when in category A, but in homepage when create a topic, in UI to select category don’t display all of sub-sub category (include A)

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/c/cccb642959b7d4c3a8c80eed815a14b7c3cfee44.png)  
I see my error same this topic

> [@Create a new Topic in one category \> change categories \> new category is not displayed](https://meta.discourse.org/t/create-a-new-topic-in-one-category-change-categories-new-category-is-not-displayed/121034):
>
> I clicked on Create a new Topic when I was in one category I chose a different category to post in After selecting the new category, it does not display in the category field If I create this topic, it will be in the category I selected, but visually Discourse doesn’t tell me that’s t…

My Discourse upgrade newest version

---

<div class="post-metadata">

### Author: ![frhun](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frhun/32/223025_2.png) [@frhun](https://meta.discourse.org/u/frhun)
#### Post date: [June 4, 2021, 11:06am UTC](https://meta.discourse.org/t/sub-sub-categories/139309/16 "2021-06-04T11:06:23Z")

</div>

So i found a pretty terrible bug with sub-sub categories.  
After i created a category, and then created sub categories, i went into the category, and it let me set a subcategory of it self as its parent.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [November 11, 2022, 10:00am UTC](https://meta.discourse.org/t/sub-sub-categories/139309/18 "2022-11-11T10:00:53Z")

</div>


