# Expandable advanced search UI panel

**URL:** https://meta.discourse.org/t/expandable-advanced-search-ui-panel/48440
**Category:** Feature
**Tags:** feedback
**Created:** [8월 10, 2016, 7:05오전 UTC](https://meta.discourse.org/t/expandable-advanced-search-ui-panel/48440 "2016-08-10T07:05:04Z")
**Posts on this page:** 14
**Page:** 4

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [10월 31, 2016, 2:56오전 UTC](https://meta.discourse.org/t/expandable-advanced-search-ui-panel/48440/63 "2016-10-31T02:56:24Z")

</div>

Is there a way to use advanced search without restricting search results to a particular category? “Uncategorized” category is selected by default, but there is no “All categories” item in the dropdown box, which should be the default option.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [10월 31, 2016, 2:57오전 UTC](https://meta.discourse.org/t/expandable-advanced-search-ui-panel/48440/64 "2016-10-31T02:57:15Z")

</div>

Uncategorized does search all categories - I’m not sure how to search for #Uncategorized topics with advanced search at the moment. Poor choice of wording.

---

<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: [10월 31, 2016, 2:59오전 UTC](https://meta.discourse.org/t/expandable-advanced-search-ui-panel/48440/65 "2016-10-31T02:59:22Z")

</div>

Well that is confusing. We should support a blank option here meaning all @cpradio.

---

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [10월 31, 2016, 3:08오전 UTC](https://meta.discourse.org/t/expandable-advanced-search-ui-panel/48440/66 "2016-10-31T03:08:36Z")

</div>

May we also add a separate translation key for “any” and not reuse another existing key?

 ![](https://global.discourse-cdn.com/meta/original/3X/7/b/7b0591c2e9aa8cec1db7edde0410826ee3be8e7e.png)

For instance, I’d translate it differently in various contexts. Advanced Search is another context and is not an exception.

---

<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: [10월 31, 2016, 5:54오전 UTC](https://meta.discourse.org/t/expandable-advanced-search-ui-panel/48440/67 "2016-10-31T05:54:42Z")

</div>

I think translating “blank” (no text) Is zero effort for all human languages and makes more sense. But re-using an existing translation is OK if that is easier.

---

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [10월 31, 2016, 6:10오전 UTC](https://meta.discourse.org/t/expandable-advanced-search-ui-panel/48440/68 "2016-10-31T06:10:06Z")

</div>

May you explain what you mean re “blank”?

---

<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: [10월 31, 2016, 10:20오전 UTC](https://meta.discourse.org/t/expandable-advanced-search-ui-panel/48440/69 "2016-10-31T10:20:04Z")

</div>

> [@codinghorror](#):
>
> Well that is confusing. We should support a blank option here meaning all @cpradio.

This can’t be easily done using the category-chooser component

From prior convo with @tgxworld

> [@tgxworld](#):
>
> The default for “In Category” is “uncategorized” but it doesn’t actually search for “uncategorized” categories but all categories.

> Yeah, the category-chooser defaults to that… ☹ Has for ages, there are multiple topics about it here on Meta

In short, when Uncategorized is enabled, it takes over the “blank” spot on the category-chooser. Because Uncategorized, isn’t a “true” category. So the only way to fix this, is to go back to category-selector and have people type in the category name.

---

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [10월 31, 2016, 11:26오전 UTC](https://meta.discourse.org/t/expandable-advanced-search-ui-panel/48440/70 "2016-10-31T11:26:41Z")

</div>

There is an “All” option in a similar dropdown box in the menu:

 ![](https://global.discourse-cdn.com/meta/original/3X/d/2/d2a6c8d71d3a39017d249dc2224b2494e0e22b0b.png)

However, it does not contain “Uncategorized” category. Still, if I click on it from the home page, it is then shown as a selected option in the menu. A bit confusing.

---

<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: [10월 31, 2016, 12:19오후 UTC](https://meta.discourse.org/t/expandable-advanced-search-ui-panel/48440/71 "2016-10-31T12:19:10Z")

</div>

Probably fine, I am not seeing the big distinction between “you gotta type” and “drop down list”.

---

<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: [10월 31, 2016, 3:13오후 UTC](https://meta.discourse.org/t/expandable-advanced-search-ui-panel/48440/72 "2016-10-31T15:13:50Z")

</div>

K, I’ll work on switching it back. That shouldn’t take too long, but I’m not sure when this week I’ll get to it.

---

<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: [10월 31, 2016, 9:32오후 UTC](https://meta.discourse.org/t/expandable-advanced-search-ui-panel/48440/73 "2016-10-31T21:32:29Z")

</div>

And I got to it tonight (and man, it was more changes than I remembered)  
[https://github.com/discourse/discourse/pull/4527](https://github.com/discourse/discourse/pull/4527)

---

<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: [10월 31, 2016, 9:43오후 UTC](https://meta.discourse.org/t/expandable-advanced-search-ui-panel/48440/74 "2016-10-31T21:43:57Z")

</div>

Oh, I should also mention moving back to category-selector solves another issue, Anonymous can now search by category (so long as the category is public).

---

<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: [11월 19, 2016, 8:54오후 UTC](https://meta.discourse.org/t/expandable-advanced-search-ui-panel/48440/75 "2016-11-19T20:54:01Z")

</div>

One thing that was brought up today is that **plugins may need to add search options here** – for example the solved plugin allows you to search for topics where a post was marked as the solution.

---

<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: [12월 20, 2016, 1:02오전 UTC](https://meta.discourse.org/t/expandable-advanced-search-ui-panel/48440/76 "2016-12-20T01:02:08Z")

</div>



[이전 페이지](https://meta.discourse.org/t/expandable-advanced-search-ui-panel/48440.md?page=3)
