lemmy-ui icon indicating copy to clipboard operation
lemmy-ui copied to clipboard

[Bug]: All top sorts return "top of all time" in profile

Open Tamnac opened this issue 7 months ago • 3 comments

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

Steps to Reproduce

  1. Go to profile
  2. 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

Tamnac avatar Nov 30 '23 23:11 Tamnac

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.

Nutomic avatar Dec 01 '23 10:12 Nutomic

They should probably be removed then, but yeah this is not a blocker for 0.19

Tamnac avatar Dec 01 '23 16:12 Tamnac

This is a lemmy-ui issue not a lemmy issue. Unless you want lemmy to throw a error for using the other top sorts

MV-GH avatar Dec 02 '23 09:12 MV-GH