From daa6ce60ab713ff8efe013bf4cb2343be164de78 Mon Sep 17 00:00:00 2001 From: Riley Davis Date: Tue, 28 Mar 2017 15:41:27 -0600 Subject: [PATCH] show the total comment count instead of the parent count --- client/coral-embed-stream/src/Embed.js | 2 +- client/coral-framework/graphql/queries/streamQuery.graphql | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/coral-embed-stream/src/Embed.js b/client/coral-embed-stream/src/Embed.js index a3d2a24a9..962eb1030 100644 --- a/client/coral-embed-stream/src/Embed.js +++ b/client/coral-embed-stream/src/Embed.js @@ -120,7 +120,7 @@ class Embed extends Component {
- + {lang.t('MY_COMMENTS')} Configure Stream diff --git a/client/coral-framework/graphql/queries/streamQuery.graphql b/client/coral-framework/graphql/queries/streamQuery.graphql index e9f4c827c..03af1de4c 100644 --- a/client/coral-framework/graphql/queries/streamQuery.graphql +++ b/client/coral-framework/graphql/queries/streamQuery.graphql @@ -29,6 +29,7 @@ query AssetQuery($asset_id: ID, $asset_url: String!, $comment_id: ID!, $has_comm requireEmailConfirmation } commentCount + totalCommentCount comments(limit: 10) { ...commentView replyCount