From 20ca27aeb5cbc53dac6480293f6c7b07bbfdf8e9 Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Mon, 26 Jun 2023 22:33:32 +0200 Subject: [PATCH] =?UTF-8?q?(admin)=20faster=20profile=20moderation=20?= =?UTF-8?q?=E2=80=93=20sort=20reports=20from=20most=20urgent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/routes/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routes/admin.js b/server/routes/admin.js index 0abb99ef1..bcf5c7540 100644 --- a/server/routes/admin.js +++ b/server/routes/admin.js @@ -410,7 +410,7 @@ router.get('/admin/reports', handleErrorAsync(async (req, res) => { WHERE reports.id > ${cutoff} AND sus.username IS NOT NULL GROUP BY reports.id - ORDER BY min(reports.isHandled) ASC, reports.id DESC + ORDER BY min(reports.isHandled) ASC, min(reports.isAutomatic) ASC, reports.id ASC `)); }));