lemmy-ui
lemmy-ui copied to clipboard
[Bug]: All top sorts return "top of all time" in profile
Requirements
- [X] Is this a bug report? For questions or discussions use https://lemmy.ml/c/lemmy_support
- [X] Did you check to see if this issue already exists?
- [X] Is this only a single bug? Do not put multiple bugs in one issue.
- [X] Is this a backend issue? Use the lemmy-ui repo for UI / frontend issues.
Summary
Regardless of which "top" sort is selected (hour, day, month, year etc.), the backend returns top of all time.
I'm assuming this is a backend issue since it happened across multiple frontends
example:
Steps to Reproduce
- Go to profile
- Choose any of the "top" sorts
Technical Details
Tried with Sync and Lemmy UI in vivaldi browser
Version
0.19.0-rc.11
Lemmy Instance URL
lemmy.ml
This is because comments can only be sorted by TopAll, other options such as TopDay are not implemented but are automatically converted to TopAll. So this is unrelated to 0.19, you can see the same behaviour on 0.18.5.
They should probably be removed then, but yeah this is not a blocker for 0.19
This is a lemmy-ui issue not a lemmy issue. Unless you want lemmy to throw a error for using the other top sorts