decidim-comments/app/frontend/comments/comments.query.graphql in decidim-0.0.1 vs decidim-comments/app/frontend/comments/comments.query.graphql in decidim-0.0.2
- old
+ new
@@ -1,10 +1,10 @@
-query GetComments($commentableId: String!, $commentableType: String!) {
+query GetComments($commentableId: String!, $commentableType: String!, $orderBy: String) {
currentUser {
name
avatarUrl
}
- comments(commentableId: $commentableId, commentableType: $commentableType) {
+ comments(commentableId: $commentableId, commentableType: $commentableType, orderBy: $orderBy) {
id
...CommentThread
}
}