apply auto_start sort to dl queue

pull/504/head
simon 1 year ago
parent 5d0d050149
commit dbaa13bfb0
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

@ -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"}},
],
}
)

Loading…
Cancel
Save