Reorder Categories stopped working?

AI-generated summary

On the Psychics Forum, user sallypf reported that the Reorder Categories feature stopped working, with no response when clicked. JammyDodger confirmed the issue on meta and moved it to the bug category. Arkshine identified a potential code issue in discovery/navigation.js, noting a missing @service modal; import, referencing a related GitHub pull request. GuidoD clarified that this was a diagnostic clue, not a fix, and expected resolution within the week. sam confirmed the issue was assigned and would be resolved. david announced the fix via a GitHub commit, and GuidoD confirmed the issue was resolved after updating and reloading the site, with the reorder functionality restored.

Hi All, On my forum Psychics Forum reorder categories has stopped working which I suspect may have happened after some recent upgrades.

When I click on Reorder Categories menu it doesn’t do anything. How do we fix it?

4 Likes

Hello and welcome @sallypf :slight_smile:

I can confirm this here on meta as well. I’ve slipped this over to the Contribute > Bug category and we’ll get it looked at. :eyes:

4 Likes

Oh ok, will wait then. Thanks for the reply.

2 Likes
Error

Related to:
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

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

3 Likes

Is it suggestion or solution?

it is not yet a solution, just a hint where they have to check the code in order to fix it.
I would expect that it will be fixed somewhere next week.

2 Likes

We have this assigned out, should be sorted out this week.

5 Likes

Thanks everyone! This should be fixed via

https://github.com/discourse/discourse/commit/1e1bb45b969093731cb6c252af3c66147ecbb286

6 Likes

yes it is fixed now, I just pulled the latest release and after a forced reload of the site the popup is back for the sorting and the categories got reordered successfully at our site.

1 Like

This topic was automatically closed after 21 hours. New replies are no longer allowed.