talk
talk copied to clipboard
Add a count for top level comments
Expected behavior:
When I fetch a story stream and its comments, the commentsCount should return the number of top level comments in that story
(on the screenshot, 4 top level comments, but 28 as commentsCount)
Actual behavior:
The commentsCount returns the number of top level comments included their replies.
Is there any way, to get the actual count of only top Level comments?
Hi there
The comments count reflects the total number of comments, as that's the requested behavior for all of our users until now. I'm afraid what you're asking isn't in our roadmap but as always, our code is open source so feel free to create your own fork in our counts.js script and make your own counts!