mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 07:09:16 +02:00
Exclude federated files from library endpoint
This commit is contained in:
parent
98381a00c8
commit
e19fbf5436
2 changed files with 13 additions and 1 deletions
|
@ -121,7 +121,7 @@ class MusicFilesViewSet(FederationMixin, viewsets.GenericViewSet):
|
|||
qs = TrackFile.objects.order_by('-creation_date').select_related(
|
||||
'track__artist',
|
||||
'track__album__artist'
|
||||
)
|
||||
).filter(library_track__isnull=True)
|
||||
if page is None:
|
||||
conf = {
|
||||
'id': utils.full_url(reverse('federation:music:files-list')),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue