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

Show first copied playlist as default playlist #930

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

dennis531
Copy link
Collaborator

Problem:

  • Copy function in new courses without playlists doesn't work because no default course is set. The copied playlists will be copied but not displayed.

Solution:

  • Set first copied playlist as default playlist in the course

Additional fix:

  • Prevent returned playlist array with null value in CourseListPlaylist

Fix #886

@dennis531 dennis531 self-assigned this Feb 1, 2024
@dennis531 dennis531 added type:bug v:3 Everything related to the Stud.IP Opencast Plugin Version 3.x labels Feb 1, 2024
@@ -59,16 +66,32 @@ export default {
},

copyPlaylistsToCourse() {
const is_default = this.isDefault;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should prevent updates of property this.isDefault

@tgloeggl tgloeggl merged commit 0ce5a87 into elan-ev:master Feb 22, 2024
3 of 4 checks passed
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
None yet
Development

Successfully merging this pull request may close these issues.

Default action for adding existing playlists to other courses should be copying - remove linking feature
2 participants