From 4df7b824f11400605c75f3b6942555f60f6fa789 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 24 Dec 2018 05:31:20 +0900 Subject: [PATCH] [API] Fix #3737 --- src/server/api/endpoints/admin/drive/files.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/api/endpoints/admin/drive/files.ts b/src/server/api/endpoints/admin/drive/files.ts index 6fc83f819..dfd8eee91 100644 --- a/src/server/api/endpoints/admin/drive/files.ts +++ b/src/server/api/endpoints/admin/drive/files.ts @@ -52,9 +52,9 @@ export default define(meta, (ps, me) => new Promise(async (res, rej) => { _sort = { length: -1 }; - } else if (ps.sort == '+size') { + } else if (ps.sort == '-size') { _sort = { - length: -1 + length: 1 }; } } else {