aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/account/account.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-19 09:41:03 +0100
committerChocobozzz <me@florianbigard.com>2018-02-19 10:48:44 +0100
commit3bb6c52645af84832212c99fdec04143e4230180 (patch)
treed91539e2aed89bdd0e6d0530db5e92da45e20fb9 /server/models/account/account.ts
parent2519d9fec6f84906d1b10770be791ad367186ca7 (diff)
downloadPeerTube-3bb6c52645af84832212c99fdec04143e4230180.tar.gz
PeerTube-3bb6c52645af84832212c99fdec04143e4230180.tar.zst
PeerTube-3bb6c52645af84832212c99fdec04143e4230180.zip
Fix sort inconsistency
Diffstat (limited to 'server/models/account/account.ts')
-rw-r--r--server/models/account/account.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/account/account.ts b/server/models/account/account.ts
index d8f305c37..54ec7cfcc 100644
--- a/server/models/account/account.ts
+++ b/server/models/account/account.ts
@@ -197,7 +197,7 @@ export class AccountModel extends Model<AccountModel> {
197 const query = { 197 const query = {
198 offset: start, 198 offset: start,
199 limit: count, 199 limit: count,
200 order: [ getSort(sort) ] 200 order: getSort(sort),
201 } 201 }
202 202
203 return AccountModel.findAndCountAll(query) 203 return AccountModel.findAndCountAll(query)