mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 11:50:14 +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 = {
|
||||
"size": pagination_handler.pagination["page_size"],
|
||||
"from": pagination_handler.pagination["page_from"],
|
||||
"query": {"match_all": {}},
|
||||
"query": {
|
||||
"term": {"playlist_entries.downloaded": {"value": True}}
|
||||
},
|
||||
"sort": [{"playlist_name.keyword": {"order": "asc"}}],
|
||||
}
|
||||
search = SearchHandler(url, data)
|
||||
|
Loading…
Reference in New Issue
Block a user