If a category has subcategories, loading yoursite.com/c/category_name displays a list of topics from the category, as well as any and all subcategories. If show_subcategory_list is disabled, (for example on Stonehearth, click image below to expand), there is a second dropdown where you can select a subcategory (or none).
However, when show_subcategory_list is enabled, the second dropdown doesn’t appear. (See Meta howto). If you are attempting to view a specific subcategory, this isn’t an issue as you can select the subcategory you want from the list that appears.
If, however, you want to view only the topics in the parent category and not in a subcategory there is no easy way to do so via the UI.
One way to accomplish it is as follows:
Navigate to a category with subcategories and show_subcategory_list enabled (like howto).
Click on a subcategory
Notice that the second dropdown appears
Click it, and select none.
Notice that you are redirected to yoursite.com/c/category_name/none On Meta that would be https://meta.discourse.org/c/howto/none, but the UI does not indicate in any way you’ve done so (other than filtering the topic list properly)
That is a very roundabout method to accomplish this. The list of subcategories is still at the top, so you have to know to scroll down, and there’s no UI method to remove the “none” (other than repeating the above steps).
Hmm, that looks too much like a subcategory, and doesn’t solve how to clearly show that the “none” filter is active. I’ll go with showing the subcategory filter even if we’re listing the subcategories below.
Saw the commit to add the dropdown at all times, thanks! When filtering to none the subcategory boxes still appear. Can they be removed so they only show when filtered to all?