Topic list sorting bug

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

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

After visiting a topic:

1개의 좋아요

Can anyone replicate this? I can’t tell if it happens on meta since I don’t think any categories are sorted by created date. It’s annoying my users greatly :smile:

1개의 좋아요

David – sorry for the delay. Engineering is looking at this but it’s a bit tricky to navigate through. It may have to wait until after our upcoming release of 2.5 depending on complexity.

3개의 좋아요

Yes I can replicate this, It’s a little bit tricky, I have already spent some time digging it, will spend more time next week.

4개의 좋아요

We have something similar.
Our news category is set to sort by create date. It works if you access it directly via the url News - Software AG Tech Community
But not if you first visit the home page and then select news from the “sections” dropdown.

1개의 좋아요

Any updates on this?

1개의 좋아요

Yes, I think that will fix it (once merged)

https://github.com/discourse/discourse/pull/10165

6개의 좋아요