# Search of category and user should return results

**URL:** <https://meta.discourse.org/t/search-of-category-and-user-should-return-results/29752>\
**Category:** Bug\
**Created:** [8 يونيو 2015، 1:47ص UTC](https://meta.discourse.org/t/search-of-category-and-user-should-return-results/29752 "2015-06-08T01:47:34Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![peternlewis](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/peternlewis/32/108888_2.png) [@peternlewis](https://meta.discourse.org/u/peternlewis)\
**Post date:** [8 يونيو 2015، 1:47ص UTC](https://meta.discourse.org/t/search-of-category-and-user-should-return-results/29752/1 "2015-06-08T01:47:34Z")

</div>

It seems that a search for nothing returns no result, and adding qualifiers like category and user still return nothing (this is related to the issues described at [Search sometimes tokenizes unique user names and some times does not](https://meta.discourse.org/t/search-sometimes-tokenizes-unique-user-names-and-some-times-does-not/25057/12)).

One of my forum users wants to see all their posts in a particular category, so they search for:

```
username:myname category:mycategory

```

but that fails because there is no match.

A lousy workaround is to search for:

```
username:myname category:mycategory mycategory

```

Since mycategory always appears (or appears to appear) in the search matches, this finds everything.

But it seems to me that the search system should accept a search of only options.

Thanks.

---

_[View the full topic](https://meta.discourse.org/t/search-of-category-and-user-should-return-results/29752)._
