sort continue watching videos

This commit is contained in:
simon 2022-03-12 20:29:26 +07:00
parent f6950a2ca5
commit 7595e7501f
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ class ArchivistResultsView(ArchivistViewConfig):
data = {
"size": self.default_conf["archive"]["page_size"],
"query": {"bool": {"should": ids}},
"sort": [{"published": {"order": "desc"}}],
}
search = SearchHandler(
"ta_video/_search", self.default_conf, data=data