mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 09:49:55 +02:00
Fix #1175: Fix embedded player not working on channel serie/album
This commit is contained in:
parent
0f2b332eb0
commit
4351331355
11 changed files with 15 additions and 9 deletions
|
@ -180,7 +180,7 @@ class AlbumViewSet(
|
|||
queryset = (
|
||||
models.Album.objects.all()
|
||||
.order_by("-creation_date")
|
||||
.prefetch_related("artist", "attributed_to", "attachment_cover")
|
||||
.prefetch_related("artist__channel", "attributed_to", "attachment_cover")
|
||||
)
|
||||
serializer_class = serializers.AlbumSerializer
|
||||
permission_classes = [oauth_permissions.ScopePermission]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue