mirror of
https://github.com/tubearchivist/tubearchivist
synced 2024-11-02 09:41:07 +00:00
sort continue watching videos
This commit is contained in:
parent
f6950a2ca5
commit
7595e7501f
@ -191,6 +191,7 @@ class ArchivistResultsView(ArchivistViewConfig):
|
|||||||
data = {
|
data = {
|
||||||
"size": self.default_conf["archive"]["page_size"],
|
"size": self.default_conf["archive"]["page_size"],
|
||||||
"query": {"bool": {"should": ids}},
|
"query": {"bool": {"should": ids}},
|
||||||
|
"sort": [{"published": {"order": "desc"}}],
|
||||||
}
|
}
|
||||||
search = SearchHandler(
|
search = SearchHandler(
|
||||||
"ta_video/_search", self.default_conf, data=data
|
"ta_video/_search", self.default_conf, data=data
|
||||||
|
Loading…
Reference in New Issue
Block a user