mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-26 14:32:04 -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}
|
||||
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
|
||||
`));
|
||||
}));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user