Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Videos/Wiedergabelisten übertragen" random playlist sorting #939

Open
dennis531 opened this issue Feb 21, 2024 · 1 comment
Open

"Videos/Wiedergabelisten übertragen" random playlist sorting #939

dennis531 opened this issue Feb 21, 2024 · 1 comment
Labels
type:bug v:3 Everything related to the Stud.IP Opencast Plugin Version 3.x

Comments

@dennis531
Copy link
Collaborator

The playlists are displayed in a different order than in the source course when transferring all contents of a cours to another course.

Originally posted by @kai-wng-uos in #879

@dennis531 dennis531 added type:bug v:3 Everything related to the Stud.IP Opencast Plugin Version 3.x labels Feb 21, 2024
@dennis531
Copy link
Collaborator Author

dennis531 commented Feb 21, 2024

Playlists in the course are currently sorted in ascending order by their creation date. The problem occurs because the copied playlists do not copy the creation date, but set the copy date as creation date instead. I tried to copy the playlists sorted by creation date. This approach does not work, as all copied playlists ended with the same creation dates, at least in my test system. So this problem is not trivial to solve as long as we do not offer a sorting option for the playlists in the course. It would be possible to offset the creation dates, e.g. by one second. But that would lead to messy hacks in the code.

In conclusion, it would be best to solve this problem with the planned sorting function of playlists in courses to avoid ugly code.
Related #888

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug v:3 Everything related to the Stud.IP Opencast Plugin Version 3.x
Projects
Status: No status
Development

No branches or pull requests

1 participant