From b8359a4249d3a43ac24f0a1ff5cb086622a11f1b Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 29 Nov 2021 14:28:23 +0700 Subject: [PATCH] match_all to show all playlists, even when empty --- tubearchivist/home/views.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tubearchivist/home/views.py b/tubearchivist/home/views.py index 7fe507d..d3ee3f8 100644 --- a/tubearchivist/home/views.py +++ b/tubearchivist/home/views.py @@ -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"]: