diff options
Diffstat (limited to 'server/models/video/video-comment.ts')
-rw-r--r-- | server/models/video/video-comment.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/models/video/video-comment.ts b/server/models/video/video-comment.ts index ba09522cc..cf2a80d53 100644 --- a/server/models/video/video-comment.ts +++ b/server/models/video/video-comment.ts | |||
@@ -144,6 +144,11 @@ enum ScopeNames { | |||
144 | }, | 144 | }, |
145 | { | 145 | { |
146 | fields: [ 'accountId' ] | 146 | fields: [ 'accountId' ] |
147 | }, | ||
148 | { | ||
149 | fields: [ | ||
150 | { name: 'createdAt', order: 'DESC' } | ||
151 | ] | ||
147 | } | 152 | } |
148 | ] | 153 | ] |
149 | }) | 154 | }) |