Closed thereido closed 1 year ago
Current ratings' date is only specific to the day, not the time.
ORDER BY rating.yourRatingDate desc, rating.ts desc
In the example in the issue description (Item 1, Item 2, Item3)... If Item 1 was modified yesterday after Item 2 was created the sort would be wrong.
I am doing option 3 because it is the option with the least code to be affected.
When sorting by date, the sorting for items with the same rating day, if seems random. Ideally the sorting would be showing the items rated last if the sort is descending, which is the default. Ascending sort would show items rated first.
Example:
Shown current with default sort:
Suggestion for default sort: