# A busca limitada à categoria também deve pesquisar nas subcategorias?

**URL:** <https://meta.discourse.org/t/should-search-limited-to-category-also-search-subcategories/41100>\
**Category:** Feature\
**Created:** [Março 15, 2016, 6:12pm UTC](https://meta.discourse.org/t/should-search-limited-to-category-also-search-subcategories/41100 "2016-03-15T18:12:01Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)\
**Post date:** [Fevereiro 7, 2017, 10:00pm UTC](https://meta.discourse.org/t/should-search-limited-to-category-also-search-subcategories/41100/3 "2017-02-07T22:00:20Z")

</div>

This is now supported as per this change by @sam

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

So:

To search #howto and all sub categories use

> something #howto

OR

> something category:howto

To restrict it so you only search the category #howto without children use:

> something #=howto

OR

> something category:=howto

* * *

We still need to decide what to do about the “search this category” checkbox.

---

_[View the full topic](https://meta.discourse.org/t/should-search-limited-to-category-also-search-subcategories/41100)._
