# Routing issue when adjusting topic list filters

**URL:** https://meta.discourse.org/t/routing-issue-when-adjusting-topic-list-filters/213880
**Category:** Bug
**Created:** [January 5, 2022, 2:46am UTC](https://meta.discourse.org/t/routing-issue-when-adjusting-topic-list-filters/213880 "2022-01-05T02:46:34Z")
**Posts on this page:** 3
**Page:** 1

<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: [January 5, 2022, 2:46am UTC](https://meta.discourse.org/t/routing-issue-when-adjusting-topic-list-filters/213880/1 "2022-01-05T02:46:34Z")

</div>

There is currently a routing bug reproducible under fairly specific conditions:

**Prerequisites**

- Category with a subcategory
  - `Default List Filter` category setting should be “no subcategories” for the parent category

- Solved plugin installed
  - `show_filter_by_solved_status` site setting enabled
  - enable solved globally or at least for the involved categories

# Repro steps

1. Change the solved/unsolved filter from the default of “all” to “solved”
2. Change the subcategory filter from the default of “none” to “all”
3. Observe the error in the console

> `Error: You didn't provide enough string/numeric parameters to satisfy all of the dynamic segments for route discovery.categoryNone. Missing params: category_slug_path_with_id`

---

<div class="post-metadata">

### Author: ![dan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dan/32/101549_2.png) [@dan](https://meta.discourse.org/u/dan)
#### Post date: [January 8, 2022, 11:55am UTC](https://meta.discourse.org/t/routing-issue-when-adjusting-topic-list-filters/213880/8 "2022-01-08T11:55:09Z")

</div>

I think the cause is that Ember.js passes an incomplete transition when `solved` is updated, but the way we did the transition was not very elegant either. I found a workaround for the problem and fixed a bug from core too:

[https://github.com/discourse/discourse-solved/pull/184](https://github.com/discourse/discourse-solved/pull/184)

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

---

<div class="post-metadata">

### Author: ![dan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dan/32/101549_2.png) [@dan](https://meta.discourse.org/u/dan)
#### Post date: [January 8, 2022, 11:59am UTC](https://meta.discourse.org/t/routing-issue-when-adjusting-topic-list-filters/213880/9 "2022-01-08T11:59:37Z")

</div>


