thereido / RatingSync

Keep ratings from movie websites in sync
GNU General Public License v3.0
0 stars 1 forks source link

Ratings sort is confusing #63

Closed thereido closed 1 year ago

thereido commented 1 year ago

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:

thereido commented 1 year ago

Current ratings' date is only specific to the day, not the time.

Option 3 affects the least code. I would mostly do what you want.

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.

thereido commented 1 year ago

I am doing option 3 because it is the option with the least code to be affected.