fix spam re-order

This commit is contained in:
KingKDot
2026-03-17 00:42:57 -05:00
parent 1e45d62502
commit de59664baf
6 changed files with 28 additions and 39 deletions
+2
View File
@@ -348,6 +348,8 @@ export function listClients(filters: ListFilters): ListResult {
const orderBy = (() => {
const bookmark = "bookmarked DESC";
switch (sort) {
case "stable":
return `ORDER BY ${bookmark}, online DESC, id ASC`;
case "ping_asc":
return `ORDER BY ${bookmark}, ping_ms IS NULL, ping_ms ASC, id ASC`;
case "ping_desc":