mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-04 19:30:13 +00:00
only show playlist if at least one entry
This commit is contained in:
parent
8932a6bc02
commit
3d969c25fa
@ -719,7 +719,9 @@ class PlaylistView(View):
|
|||||||
data = {
|
data = {
|
||||||
"size": pagination_handler.pagination["page_size"],
|
"size": pagination_handler.pagination["page_size"],
|
||||||
"from": pagination_handler.pagination["page_from"],
|
"from": pagination_handler.pagination["page_from"],
|
||||||
"query": {"match_all": {}},
|
"query": {
|
||||||
|
"term": {"playlist_entries.downloaded": {"value": True}}
|
||||||
|
},
|
||||||
"sort": [{"playlist_name.keyword": {"order": "asc"}}],
|
"sort": [{"playlist_name.keyword": {"order": "asc"}}],
|
||||||
}
|
}
|
||||||
search = SearchHandler(url, data)
|
search = SearchHandler(url, data)
|
||||||
|
Loading…
Reference in New Issue
Block a user