samliew
(Samuel Liew)
1
Steps to repro:
-
I have a browser bookmark/link/homepage for https://meta.discourse.org/new?order=category (click on this link first)
-
Now click on “Latest”. Posts are sorted incorrectly. Have to click “Latest” a second time to reset sort order.
Expected:
Latest should be sorted by activity on first load.
3 Likes
sam
(Sam Saffron)
2
Note, you need to have at least 1 new topic for this to happen.
order=category
is being passed implicitly somehow without being reflected in the url we should fix
3 Likes
samliew
(Samuel Liew)
3
I prefer to view New posts by Category, could last sort order be saved separately for the different sections?
Latest
New
Unread
Top
sam
(Sam Saffron)
4
@eviltrout when you get back can you add this to your list
eviltrout
(Robin Ward)
5
This is a bit of a hack, but it works. I think the root cause might be an ember bug, or a subtle difference in Ember’s internal APIs that we override:
https://github.com/discourse/discourse/commit/b2b7f4d90592a70a32c748130f0f82a732cd3090
7 Likes