# Reorder Categories stopped working?

**URL:** <https://meta.discourse.org/t/reorder-categories-stopped-working/285214>\
**Category:** Bug\
**Created:** [November 11, 2023, 8:52pm UTC](https://meta.discourse.org/t/reorder-categories-stopped-working/285214 "2023-11-11T20:52:11Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [November 11, 2023, 11:56pm UTC](https://meta.discourse.org/t/reorder-categories-stopped-working/285214/5 "2023-11-11T23:56:34Z")

</div>

> **Error**
>
> ![image](https://global.discourse-cdn.com/meta/original/4X/3/e/c/3ecea35cf7aded9ab1ed948a3ea865752eaa0913.png)

Related to:  
[https://github.com/discourse/discourse/pull/24209](https://github.com/discourse/discourse/pull/24209)

And specifically:

[https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/components/discovery/navigation.js#L59](https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/components/discovery/navigation.js#L59)

I believe it misses a `@service modal;` here:

[https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/components/discovery/navigation.js#L10-L12](https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/components/discovery/navigation.js#L10-L12)

---

_[View the full topic](https://meta.discourse.org/t/reorder-categories-stopped-working/285214)._
