# Category:slug search does not work

**URL:** https://meta.discourse.org/t/category-slug-search-does-not-work/57460
**Category:** Bug
**Created:** [2월 16, 2017, 1:40오전 UTC](https://meta.discourse.org/t/category-slug-search-does-not-work/57460 "2017-02-16T01:40:56Z")
**Posts on this page:** 7
**Page:** 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: [2월 16, 2017, 1:40오전 UTC](https://meta.discourse.org/t/category-slug-search-does-not-work/57460/1 "2017-02-16T01:40:57Z")

</div>

I recently renamed my categories, leaving the slugs unchanged (so “macro” changed name to “Macro Library”).

I can with `#macro` or `#"macro library"` or `category:"macro library"`.

But `category:macro` does not work for some reason, gives: `No results found.`

---

<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: [9월 13, 2017, 5:45오후 UTC](https://meta.discourse.org/t/category-slug-search-does-not-work/57460/2 "2017-09-13T17:45:44Z")

</div>

Was slug search ever _supposed_ to work? I don’t know that this was supported at any point?

---

<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: [9월 14, 2017, 12:09오전 UTC](https://meta.discourse.org/t/category-slug-search-does-not-work/57460/3 "2017-09-14T00:09:05Z")

</div>

Why wouldn’t it be supported?

---

<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: [9월 14, 2017, 12:09오전 UTC](https://meta.discourse.org/t/category-slug-search-does-not-work/57460/4 "2017-09-14T00:09:57Z")

</div>

Then this is a feature request “make search also work with the slugs of categories, not just the names of categories”.

---

<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: [9월 14, 2017, 1:03오전 UTC](https://meta.discourse.org/t/category-slug-search-does-not-work/57460/5 "2017-09-14T01:03:48Z")

</div>

Did auto-complete in search solve this? You can start typing the category name/slug and hit tab for it to fill out to the correct syntax…

However, I bet the quotes are throwing off auto-complete, I tested it on my sandbox and typing “#site feedback” followed by tab changes it to #Contribute > Site feedback

---

<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: [9월 14, 2017, 7:25오전 UTC](https://meta.discourse.org/t/category-slug-search-does-not-work/57460/6 "2017-09-14T07:25:50Z")

</div>

Whether it is a bug or a feature is up to you to decide. To me it is a broken implementation, but if you consider it to be a feature request, that’s fine too.

---

<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: [9월 14, 2017, 7:29오전 UTC](https://meta.discourse.org/t/category-slug-search-does-not-work/57460/7 "2017-09-14T07:29:41Z")

</div>

> [@cpradio](#):
>
> Did auto-complete in search solve this?

That does not appear to work with “category:”. I can type “#que” to complete to `#questions`, but I cannot type “category:que” to complete to `category:questions`.
