From bbb7102e37d9fe5d877ad3e9f4e7c0e1a9103b73 Mon Sep 17 00:00:00 2001 From: Ajay Date: Mon, 12 Jun 2023 11:41:57 -0400 Subject: [PATCH] Derank original submissions --- src/routes/getBranding.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/getBranding.ts b/src/routes/getBranding.ts index b6a2131..b6786b1 100644 --- a/src/routes/getBranding.ts +++ b/src/routes/getBranding.ts @@ -177,6 +177,7 @@ async function filterAndSortBranding(videoID: VideoID, dbTitles: TitleDBResult[] const thumbnails = shuffleArray(dbThumbnails.filter(await shouldKeepThumbnails)) .sort((a, b) => b.votes - a.votes) + .sort((a, b) => +a.original - +b.original) .sort((a, b) => b.locked - a.locked) .map((r) => ({ timestamp: r.timestamp,