kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
See #432: can now filter with tags in Track/album/artist admin
rodzic
1674c771ca
commit
a48a32c7e9
|
@ -62,6 +62,10 @@ class ManageArtistFilterSet(filters.FilterSet):
|
|||
"field": forms.IntegerField(),
|
||||
"distinct": True,
|
||||
},
|
||||
"tag": {
|
||||
"to": "tagged_items__tag__name",
|
||||
"distinct": True,
|
||||
},
|
||||
},
|
||||
)
|
||||
)
|
||||
|
@ -91,6 +95,10 @@ class ManageAlbumFilterSet(filters.FilterSet):
|
|||
"field": forms.IntegerField(),
|
||||
"distinct": True,
|
||||
},
|
||||
"tag": {
|
||||
"to": "tagged_items__tag__name",
|
||||
"distinct": True,
|
||||
},
|
||||
},
|
||||
)
|
||||
)
|
||||
|
@ -129,6 +137,10 @@ class ManageTrackFilterSet(filters.FilterSet):
|
|||
"field": forms.IntegerField(),
|
||||
"distinct": True,
|
||||
},
|
||||
"tag": {
|
||||
"to": "tagged_items__tag__name",
|
||||
"distinct": True,
|
||||
},
|
||||
},
|
||||
)
|
||||
)
|
||||
|
|
Ładowanie…
Reference in New Issue