From 09b1c889ff9eb02bd9ab36c57b27cdcf0af36950 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Wed, 9 Aug 2023 14:24:52 +0200 Subject: [PATCH] Fix sort. --- client/common/moderation/templates/home.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/common/moderation/templates/home.ts b/client/common/moderation/templates/home.ts index ab8ea2c6..251a68e0 100644 --- a/client/common/moderation/templates/home.ts +++ b/client/common/moderation/templates/home.ts @@ -18,7 +18,7 @@ async function renderModerationHome (registerClientOptions: RegisterClientOption } const channels = await (await fetch( - '/api/v1/accounts/' + encodeURIComponent(username) + '/video-channels?start=0&count=100&sort=-createdAt', + '/api/v1/accounts/' + encodeURIComponent(username) + '/video-channels?start=0&count=100&sort=name', { method: 'GET', headers: peertubeHelpers.getAuthHeader()