TUM-Dev / gocast

TUMs lecture streaming service.
https://live.rbg.tum.de/
MIT License
180 stars 42 forks source link

Wrong Order when sorted by Newest or Oldest if the video are posted in different years #1169

Closed leonwind closed 10 months ago

leonwind commented 10 months ago

Describe the bug The order of the videos is wrong when one sorts them, and some videos are posted end of a year (e.g., October - December) and beginning of a new year (January - February) Meaning: Sorted by newest places October - December 2022 ahead of January - February 2023, other way around for sort by oldest.

To Reproduce Steps to reproduce the behavior:

  1. Go to any course
  2. Click on 'Sort by Oldest / Newest`
  3. See error

Expected behavior A correctly sorted list of the videos

Screenshots oldest-first-wrong-order newest-first-wrong-order

Desktop (please complete the following information):

MariusAlbrecht commented 10 months ago

related #1143 #1149

alexanderstephan commented 10 months ago

Thanks for the nice issue. This has already been addressed in https://github.com/TUM-Dev/gocast/pull/1150. It is just not deployed yet, sorry for that.

joschahenningsen commented 10 months ago

The deployment delay is on me, sorry!

joschahenningsen commented 10 months ago

Should be good now :+1: