feat(web): default video sort to published and UP sort to avg_views

This commit is contained in:
kairee committed 2026-11-03 03:09:53 +08:00
1 parent 764bde65d9
commit 11930db2bf
8 files changed
+31 -20

No files matched your search

+2 -2
View File
@@ -861,7 +861,7 @@ class DashboardQueries:
def list_videos(
self,
*,
sort: str = "heat",
sort: str = "published",
within_days: int | None = None,
year: int | None = None,
growth_days: int | str = "auto",
@@ -896,7 +896,7 @@ class DashboardQueries:
def _list_videos_uncached(
self,
*,
sort: str = "heat",
sort: str = "published",
within_days: int | None = None,
year: int | None = None,
growth_days: int | str = "auto",