mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 11:50:14 +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