diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-19 09:41:03 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-19 10:48:44 +0100 |
commit | 3bb6c52645af84832212c99fdec04143e4230180 (patch) | |
tree | d91539e2aed89bdd0e6d0530db5e92da45e20fb9 /server/models/activitypub | |
parent | 2519d9fec6f84906d1b10770be791ad367186ca7 (diff) | |
download | PeerTube-3bb6c52645af84832212c99fdec04143e4230180.tar.gz PeerTube-3bb6c52645af84832212c99fdec04143e4230180.tar.zst PeerTube-3bb6c52645af84832212c99fdec04143e4230180.zip |
Fix sort inconsistency
Diffstat (limited to 'server/models/activitypub')
-rw-r--r-- | server/models/activitypub/actor-follow.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/activitypub/actor-follow.ts b/server/models/activitypub/actor-follow.ts index a32f5f498..8260904a1 100644 --- a/server/models/activitypub/actor-follow.ts +++ b/server/models/activitypub/actor-follow.ts | |||
@@ -215,7 +215,7 @@ export class ActorFollowModel extends Model<ActorFollowModel> { | |||
215 | distinct: true, | 215 | distinct: true, |
216 | offset: start, | 216 | offset: start, |
217 | limit: count, | 217 | limit: count, |
218 | order: [ getSort(sort) ], | 218 | order: getSort(sort), |
219 | include: [ | 219 | include: [ |
220 | { | 220 | { |
221 | model: ActorModel, | 221 | model: ActorModel, |
@@ -248,7 +248,7 @@ export class ActorFollowModel extends Model<ActorFollowModel> { | |||
248 | distinct: true, | 248 | distinct: true, |
249 | offset: start, | 249 | offset: start, |
250 | limit: count, | 250 | limit: count, |
251 | order: [ getSort(sort) ], | 251 | order: getSort(sort), |
252 | include: [ | 252 | include: [ |
253 | { | 253 | { |
254 | model: ActorModel, | 254 | model: ActorModel, |