feat(web): default video sort to published and UP sort to avg_views
This commit is contained in:
1 parent
764bde65d9
commit
11930db2bf
8 files changed
+31
-20
No files matched your search
@@ -225,7 +225,7 @@ function bindControls(root) {
|
||||
}
|
||||
|
||||
async function renderScope(root, { query }, scope) {
|
||||
const sort = query.get("sort") || "efficiency";
|
||||
const sort = query.get("sort") || (scope === "up" ? "avg_views" : "published");
|
||||
const within = query.get("within_days") || "";
|
||||
const year = query.get("year") || "";
|
||||
const growthDays = query.get("growth_days") || "7";
|
||||
|
||||
Reference in new issue
Block a user