apply auto_start sort to dl queue

This commit is contained in:
simon
2023-05-07 19:41:37 +07:00
parent 5d0d050149
commit dbaa13bfb0

View File

@@ -413,7 +413,10 @@ class DownloadView(ArchivistResultsView):
self.data.update(
{
"query": {"bool": {"must": must_list}},
"sort": [{"timestamp": {"order": "asc"}}],
"sort": [
{"auto_start": {"order": "desc"}},
{"timestamp": {"order": "asc"}},
],
}
)