TUM-Dev / gocast

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

Fix order of playlist entries #1148

Closed MatthiasReumann closed 1 year ago

MatthiasReumann commented 1 year ago

Motivation and Context

Description

The weird ordering occurred because we used createdAt for sorting. To fix this issue, use the start attribute.

Steps for Testing

  1. Log in
  2. Navigate to a Livestream
  3. Check playlist. Should be sorted starting from the first video in the current semester.
github-actions[bot] commented 1 year ago

Your Testserver will be ready at https://1148.test.live.mm.rbg.tum.de in a few minutes.

Logins | Kurs1 | Kurs2 | Kurs3 | Kurs4 | | ---------------------------------------- | ------------------------- | ------------------------- | ------------------------- | | public | public | loggedin | enrolled | | prof1 | prof1 | prof2 | prof1
prof2 | | student1
student2
student3 | student1
student2 | student2
student3 | student1
student2 |