mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 15:19:15 +02:00
Resolve "Hide an artist in the UI"
This commit is contained in:
parent
d4d4e60e39
commit
bdf83bd8ff
50 changed files with 1051 additions and 49 deletions
|
@ -17,7 +17,7 @@ class PlaylistQuerySet(models.QuerySet):
|
|||
|
||||
def with_covers(self):
|
||||
album_prefetch = models.Prefetch(
|
||||
"album", queryset=music_models.Album.objects.only("cover")
|
||||
"album", queryset=music_models.Album.objects.only("cover", "artist_id")
|
||||
)
|
||||
track_prefetch = models.Prefetch(
|
||||
"track",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue