# Items filter improperly when searching Admin/Settings

**URL:** https://meta.discourse.org/t/items-filter-improperly-when-searching-admin-settings/28217
**Category:** Bug
**Created:** [2015年五月1日 23:34 UTC](https://meta.discourse.org/t/items-filter-improperly-when-searching-admin-settings/28217 "2015-05-01T23:34:37Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![strager](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@strager](https://meta.discourse.org/u/strager)
#### Post date: [2015年五月1日 23:34 UTC](https://meta.discourse.org/t/items-filter-improperly-when-searching-admin-settings/28217/1 "2015-05-01T23:34:37Z")

</div>

Hi guys,

When you do a search under “Admin/Settings” it used to provide you with a list of categories with the number of items in each category that match. Now when doing the same search it initially does this but within 2 seconds suddenly filters everything to “All” and **removes the categories** - this makes it difficult to determine which area a setting is in requiring us to search every time we change a setting.

To quickly reproduce, do a search for the letter “a”

 ![](https://global.discourse-cdn.com/meta/original/3X/5/4/540e6e1eb7d4b1b18d2951d342cc2d0c6b2ce84a.png) 

As you can see you intitally see the categoes as expected… However wait 2-3 seconds and it automatically changes to look like:

 ![](https://global.discourse-cdn.com/meta/original/3X/6/8/688c6c5ad5c835fbb711928dc6bb7413506f040d.png) 

For longer searches (for example “newuser”) this change occurs too fast to even determine what section the setting is in. @Bill_S was looking for these settings and still cannot determine the correct category so has to do a search every time he wants to update one.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2015年五月2日 02:24 UTC](https://meta.discourse.org/t/items-filter-improperly-when-searching-admin-settings/28217/2 "2015-05-02T02:24:27Z")

</div>

we will change it so it “defaults” to all when searching but still exposes the breakdown per section, old way it worked was very confusing

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2015年六月8日 16:08 UTC](https://meta.discourse.org/t/items-filter-improperly-when-searching-admin-settings/28217/3 "2015-06-08T16:08:34Z")

</div>

@sam Is something like this what you meant?

 ![](https://global.discourse-cdn.com/meta/original/3X/f/0/f0ce22d5f757adc952b040304286845e1895efe9.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2015年六月8日 16:13 UTC](https://meta.discourse.org/t/items-filter-improperly-when-searching-admin-settings/28217/4 "2015-06-08T16:13:35Z")

</div>

Yeah, perfect ❤

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2015年六月8日 16:26 UTC](https://meta.discourse.org/t/items-filter-improperly-when-searching-admin-settings/28217/5 "2015-06-08T16:26:30Z")

</div>

Cool! Now I just have to figure out how to add tests xD

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2015年六月9日 13:59 UTC](https://meta.discourse.org/t/items-filter-improperly-when-searching-admin-settings/28217/6 "2015-06-09T13:59:47Z")

</div>

Fix in

[https://github.com/discourse/discourse/pull/3536](https://github.com/discourse/discourse/pull/3536)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2015年六月9日 14:01 UTC](https://meta.discourse.org/t/items-filter-improperly-when-searching-admin-settings/28217/7 "2015-06-09T14:01:21Z")

</div>


