match_all to show all playlists, even when empty

This commit is contained in:
simon 2021-11-29 14:28:23 +07:00
parent b14a820a4c
commit b8359a4249
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -738,9 +738,7 @@ class PlaylistView(View):
data = {
"size": pagination_handler.pagination["page_size"],
"from": pagination_handler.pagination["page_from"],
"query": {
"term": {"playlist_entries.downloaded": {"value": True}}
},
"query": {"match_all": {}},
"sort": [{"playlist_name.keyword": {"order": "asc"}}],
}
if view_config["show_subed_only"]: