# Unanswered filter button doesn't 'light up'

**URL:** https://meta.discourse.org/t/unanswered-filter-button-doesnt-light-up/219098
**Category:** Support
**Created:** [February 22, 2022, 8:03pm UTC](https://meta.discourse.org/t/unanswered-filter-button-doesnt-light-up/219098 "2022-02-22T20:03:31Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![ganncamp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ganncamp/32/106199_2.png) [@ganncamp](https://meta.discourse.org/u/ganncamp)
#### Post date: [February 22, 2022, 8:03pm UTC](https://meta.discourse.org/t/unanswered-filter-button-doesnt-light-up/219098/1 "2022-02-22T20:03:31Z")

</div>

We’re experimenting with the Unanswered Filter theme component. It works nicely except that the button doesn’t light up / turn red when you select it.

I thought I had seen a topic about that in my initial investigations a week or so ago, but I can’t re-find the topic, so I’m creating a new one.

(BTW it’s truly not clear to me where to appropriately file this topic about a(n official?) theme component that’s (maybe?) not working as expected)

---

<div class="post-metadata">

### Author: ![ganncamp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ganncamp/32/106199_2.png) [@ganncamp](https://meta.discourse.org/u/ganncamp)
#### Post date: [February 22, 2022, 8:31pm UTC](https://meta.discourse.org/t/unanswered-filter-button-doesnt-light-up/219098/2 "2022-02-22T20:31:10Z")

</div>

Update: The button highlights as expected in

- /latest?max\_posts=1
- /new?max\_posts=1
- /unread?max\_posts=1

Strangely, the `/top` is excluded by default, but the button appeared anyway. It filtered correctly, but did not light up. I’ve just removed `/top` from the exclusions list, and now the button _doesn’t_ show up (sounds like a flipped boolean somewhere…).

The button filters correctly but does not highlight seemingly anywhere under `/c`  
It _does_ highlight under `/tag`

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [February 23, 2022, 4:06am UTC](https://meta.discourse.org/t/unanswered-filter-button-doesnt-light-up/219098/3 "2022-02-23T04:06:39Z")

</div>

> [@ganncamp](#):
>
> (BTW it’s truly not clear to me where to appropriately file this topic about a(n official?) theme component that’s (maybe?) not working as expected)

#Support will get you the most eyes on things quickly if something isn’t working. We can always recategorise if need be. I’ve moved this for you.

I think that @tshenry built this theme component so tagging him. (Sorry if my memory has failed me Taylor, feel free to assign this out.)

---

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [February 23, 2022, 4:12am UTC](https://meta.discourse.org/t/unanswered-filter-button-doesnt-light-up/219098/4 "2022-02-23T04:12:34Z")

</div>

I did indeed build this a few years ago. This component is very much in need of some TLC. It hasn’t been updated in a few years and has had some known issues. It’s been coming up more frequently so I’ll prioritize getting it fixed and will transfer it over to our Discourse GitHub organization so we can keep more eyes on it.

---

<div class="post-metadata">

### Author: ![ganncamp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ganncamp/32/106199_2.png) [@ganncamp](https://meta.discourse.org/u/ganncamp)
#### Post date: [February 23, 2022, 12:43pm UTC](https://meta.discourse.org/t/unanswered-filter-button-doesnt-light-up/219098/10 "2022-02-23T12:43:42Z")

</div>

Thanks, y’all!

IIRC, I installed this using the GH URL. If you switch organizations, will my URL-based installation keep up with that (for getting updates) or will I need to uninstall/reinstall?

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [February 23, 2022, 4:52pm UTC](https://meta.discourse.org/t/unanswered-filter-button-doesnt-light-up/219098/11 "2022-02-23T16:52:02Z")

</div>

Everything should redirect automatically on github’s side, so you shouldn’t need to reinstall.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [February 23, 2022, 11:03pm UTC](https://meta.discourse.org/t/unanswered-filter-button-doesnt-light-up/219098/12 "2022-02-23T23:03:01Z")

</div>

I’ve got a PR ready in our review queue that refactors this into a dropdown:

[https://github.com/discourse/discourse-unanswered-filter/pull/1](https://github.com/discourse/discourse-unanswered-filter/pull/1)

 ![Screen Shot 2022-02-23 at 5.54.43 PM](https://global.discourse-cdn.com/meta/original/3X/0/3/034f7c44e0a594afe0cfc1d48e93bc3af7cb0523.png)

This will rely on a minor update to Discourse as well (for the “answered” filter):

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

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 25, 2022, 11:03pm UTC](https://meta.discourse.org/t/unanswered-filter-button-doesnt-light-up/219098/13 "2022-03-25T23:03:43Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
