add playlists radio to search result page
This commit is contained in:
parent
5fc613b21a
commit
01fd1503c9
6 changed files with 38 additions and 14 deletions
|
|
@ -418,7 +418,7 @@ def test_get_choices_for_custom_radio_exclude_tag(factories):
|
|||
def test_can_start_custom_multiple_radio_from_api(api_client, factories):
|
||||
tracks = factories["music.Track"].create_batch(5)
|
||||
url = reverse("api:v1:radios:sessions-list")
|
||||
map_filters_to_type = {"tags": "names", "artists": "ids"}
|
||||
map_filters_to_type = {"tags": "names", "artists": "ids", "playlists": "names"}
|
||||
for (key, value) in map_filters_to_type.items():
|
||||
attr = value[:-1]
|
||||
track_filter_key = [getattr(a.artist, attr) for a in tracks]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue