# Limiting search to within a category is broken

**URL:** https://meta.discourse.org/t/limiting-search-to-within-a-category-is-broken/30924
**Category:** Bug
**Tags:** search
**Created:** [Julho 9, 2015, 2:01pm UTC](https://meta.discourse.org/t/limiting-search-to-within-a-category-is-broken/30924 "2015-07-09T14:01:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [Julho 9, 2015, 2:01pm UTC](https://meta.discourse.org/t/limiting-search-to-within-a-category-is-broken/30924/1 "2015-07-09T14:01:28Z")

</div>

1. When viewing a category, click the search button and type a word
2. Check the "search within “whatever” category
3. Hit enter (or click the “Show more” link)

The results are not limited to within the category, like you selected.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [Julho 9, 2015, 2:10pm UTC](https://meta.discourse.org/t/limiting-search-to-within-a-category-is-broken/30924/2 "2015-07-09T14:10:25Z")

</div>

Already reported at

> [@Full-page search loses search context](https://meta.discourse.org/t/full-page-search-loses-search-context/30908):
>
> Whether you’re searching for posts in a topic, a category, or made by a particular user, when you select the ‘show more’ link to go to the full-page search, that context is lost; it should be preserved, otherwise you’re not doing the same search.

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [Julho 9, 2015, 2:15pm UTC](https://meta.discourse.org/t/limiting-search-to-within-a-category-is-broken/30924/3 "2015-07-09T14:15:55Z")

</div>

Thanks. Part of the reason I reported the last two issues is that I was _trying_ to search to see whether my first issue had already been reported, but found it incredibly difficult because of the bugs in search! 😄

Probably when you get them fixed, there won’t be as many duplicate bugs reported. However, having said that I never would have found this other issue. It doesn’t include the words I would have looked for.

---

<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: [Julho 9, 2015, 5:01pm UTC](https://meta.discourse.org/t/limiting-search-to-within-a-category-is-broken/30924/4 "2015-07-09T17:01:33Z")

</div>


