馃悰 [Bug] Sorting is not maintained after page navigation
Created by: Tirokk
Authored by mattwr18 Closed
馃悰 Bugreport
Currently the user loses their sorting when they navigate to a Post
, for example.
Steps to reproduce the behavior
- After logging in, you should be on the root path, if not navigate there by clicking on the Human Connection logo
- click on the sorting dropdown in the top right of the news feed... it should read
Newest
- change the sorting to
Oldest
- after it has sorted, click on one of the Posts
- navigate back to the index page with the browser's back button
- notice the sorting changes back to
Newest
Expected behavior
A user's sorting option should be maintained till the change it, or a hard refresh maybe, it should be persistent across sessions(?) short fix, would be until a hard refresh or a different session, then another ticket could be opened if we want to support default sorting options