Category nesting!

Found this rather interesting entry in the source code this morning!:

  max_category_nesting:
    client: true
    default: 2
    min: 2
    max: 3
    hidden: true

Enjoy!

:eyes:

Doesn’t seem to do anything yet though.

FYI: https://meta.discourse.org/t/some-things-ive-built-which-you-can-use/93075

Three levels of categories
Repo: GitHub - CivicallyHQ/x-civically-category
I would advise against trying to use this unless you really know what you’re doing.

Not according to https://meta.discourse.org/t/sub-sub-categories/139309/2?u=merefield

Nice catch👍

Also found this in the code:

                {{#if subcategory.subcategories}}
                  <div class='subcategories'>
                    {{#each subcategory.subcategories as |subsubcategory|}}
                      {{#unless subsubcategory.isMuted}}
                        <span class='subcategory'>
                          {{category-title-before category=subsubcategory}}
                          {{category-link subsubcategory hideParent="true"}}
                        </span>
                      {{/unless}}
                    {{/each}}
                  </div>
                {{/if}}

I think that pretty much clinches it :wink: