]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/video/video-comment.ts
Fix video follow SQL
[github/Chocobozzz/PeerTube.git] / server / models / video / video-comment.ts
index ba09522cceb492ca30fcf5ae7cc758cf9cda718b..cf2a80d531516ab2f2d287a9c7da3b4718ad5a71 100644 (file)
@@ -144,6 +144,11 @@ enum ScopeNames {
     },
     {
       fields: [ 'accountId' ]
+    },
+    {
+      fields: [
+        { name: 'createdAt', order: 'DESC' }
+      ]
     }
   ]
 })