mirror of
https://github.com/tubearchivist/tubearchivist
synced 2024-11-02 09:41:07 +00:00
match_all to show all playlists, even when empty
This commit is contained in:
parent
b14a820a4c
commit
b8359a4249
@ -738,9 +738,7 @@ 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": {
|
"query": {"match_all": {}},
|
||||||
"term": {"playlist_entries.downloaded": {"value": True}}
|
|
||||||
},
|
|
||||||
"sort": [{"playlist_name.keyword": {"order": "asc"}}],
|
"sort": [{"playlist_name.keyword": {"order": "asc"}}],
|
||||||
}
|
}
|
||||||
if view_config["show_subed_only"]:
|
if view_config["show_subed_only"]:
|
||||||
|
Loading…
Reference in New Issue
Block a user