mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-27 15:05:38 -04:00
(admin) faster profile moderation – sort reports from most urgent
This commit is contained in:
parent
a43c7c0ff6
commit
20ca27aeb5
@ -410,7 +410,7 @@ router.get('/admin/reports', handleErrorAsync(async (req, res) => {
|
|||||||
WHERE reports.id > ${cutoff}
|
WHERE reports.id > ${cutoff}
|
||||||
AND sus.username IS NOT NULL
|
AND sus.username IS NOT NULL
|
||||||
GROUP BY reports.id
|
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
|
||||||
`));
|
`));
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user