# Topic list sorting bug

**URL:** <https://meta.discourse.org/t/topic-list-sorting-bug/154236>\
**Category:** Bug\
**Created:** [June 8, 2020, 9:19pm UTC](https://meta.discourse.org/t/topic-list-sorting-bug/154236 "2020-06-08T21:19:16Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![davidkingham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidkingham/32/119528_2.png) [@davidkingham](https://meta.discourse.org/u/davidkingham)\
**Post date:** [June 8, 2020, 9:19pm UTC](https://meta.discourse.org/t/topic-list-sorting-bug/154236/1 "2020-06-08T21:19:16Z")

</div>

@j.jaffeux I’ve uncovered a new bug which is likely related to this fix

> [@Topic List Sort By stuck on false](https://meta.discourse.org/t/topic-list-sort-by-stuck-on-false/154042/6):
>
> Strange, it was not. I needed to rebuild so I did a git pull, does this not work the same as doing it through the docker manager gui? Either way, it’s working now, thank you very much!

The previous fix did fix the sorting problem, but now when you visit a topic and then go back to the category, the sorting goes back to latest rather than following the category settings.

For example visit [this category](https://community.naturephotographers.network/c/image-showcase) which is set to ‘Created’ and ‘Descending’, note the order of items, visit one of the topics and then go back, note the sorting has changed. If I refresh the page it will go back to the correct sorting.

Before visiting a topic:

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/1/418450a1c43e53e9cd46ae90689379264be3bc7f.jpeg)

After visiting a topic:

 ![image](https://global.discourse-cdn.com/meta/original/3X/7/7/77e48b22af5dc9e7d4af7537f7359a05e5665a30.jpeg)

---

_[View the full topic](https://meta.discourse.org/t/topic-list-sorting-bug/154236)._
