FIX: ensures category order keeps consistent (PR #10165)

Before this change:

  • first full page load would get category defaults defined un cateory settings
  • a navigation to a topic and then back to categories list would reset defaut to the ones defined in discovery/topics

GitHub

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/topic-list-sorting-bug/154236/10