# Category filter "none" does not appear to function in some circumstances

**URL:** https://meta.discourse.org/t/category-filter-none-does-not-appear-to-function-in-some-circumstances/154226
**Category:** Bug
**Created:** [June 8, 2020, 7:04pm UTC](https://meta.discourse.org/t/category-filter-none-does-not-appear-to-function-in-some-circumstances/154226 "2020-06-08T19:04:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![thisnthat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thisnthat/32/164804_2.png) [@thisnthat](https://meta.discourse.org/u/thisnthat)
#### Post date: [June 8, 2020, 7:04pm UTC](https://meta.discourse.org/t/category-filter-none-does-not-appear-to-function-in-some-circumstances/154226/1 "2020-06-08T19:04:55Z")

</div>

Version ### 2.5.0.beta6 [293467a37a]

When I load the page

[https://example.com/c/slug/id/none](https://example.com/c/slug/id/none)

I get what I expect a page the includes only topics in the top level category.

if I then change “none” to “all”

I get what I expect a page with topics from all the top level category and all sub categories.

if I then change “all” back to “none”

It continue to get a page with topics from all the top level category and all sub categories.

if I then reload the page

I once again got a list of only the topics from the top level category.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 9, 2020, 8:21am UTC](https://meta.discourse.org/t/category-filter-none-does-not-appear-to-function-in-some-circumstances/154226/2 "2020-06-09T08:21:45Z")

</div>

@vinothkannans can you have a look at this issue?

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [June 9, 2020, 9:23am UTC](https://meta.discourse.org/t/category-filter-none-does-not-appear-to-function-in-some-circumstances/154226/4 "2020-06-09T09:23:03Z")

</div>

This is a problem for us too, and I was just about to report it as a ‘bug’ as well.

I had thought that it was related to the recent addition of the Category setting that allows /none to be the default - but it actually just seems to be a bug as it happens in other categories too.

> [@Is it possible to make the \*default category view\* 'none' for subcategories?](https://meta.discourse.org/t/is-it-possible-to-make-the-default-category-view-none-for-subcategories/151718/5):
>
> Delighted to see that this has been implemented! Good work, @vinothkannans! When playing with it, I have the same issue noted here (can’t reply there as auto-closed) The url looks good, but the subcategory posts are still visible unless the page is refreshed. Please let us know when you have fixed it.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [June 9, 2020, 8:07pm UTC](https://meta.discourse.org/t/category-filter-none-does-not-appear-to-function-in-some-circumstances/154226/5 "2020-06-09T20:07:28Z")

</div>

The below commit should resolve the issue.

[https://github.com/discourse/discourse/commit/f67e7d2fad48012de73c45f3a91dba97652e6d7f](https://github.com/discourse/discourse/commit/f67e7d2fad48012de73c45f3a91dba97652e6d7f)

---

<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: [June 10, 2020, 2:16am UTC](https://meta.discourse.org/t/category-filter-none-does-not-appear-to-function-in-some-circumstances/154226/6 "2020-06-10T02:16:01Z")

</div>


