Ghost/ghost/core/test
Fabien "egg" O'Carroll e6317e9da3 Fixed the count endpoint for the Members Comments API
refs https://github.com/TryGhost/Team/issues/1695

When a post does not have any comments we were not returning any data
from the API, which would cause issues with the comment counts helper
frontend script. This updates the endpoint to always include the count
when explicitly requesting the count for specific posts.

We've also pulled the logic out into a stats service so that the endpoint
can just refer to the controller.
2022-08-03 11:52:08 +01:00
..
e2e-api Fixed the count endpoint for the Members Comments API 2022-08-03 11:52:08 +01:00
e2e-browser Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
e2e-frontend Improved performance of prepareContentFolder function 2022-08-01 08:58:13 +02:00
e2e-server Updated admin asset serving for ember-auto-import@2 compatibility (#15128) 2022-08-02 13:43:45 +01:00
e2e-webhooks Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
integration Fixed CI 2022-07-27 18:39:28 +01:00
regression Improved performance of prepareContentFolder function 2022-08-01 08:58:13 +02:00
unit Updated comment_count helper and frontend script 2022-08-03 11:52:08 +01:00
utils Updated admin asset serving for ember-auto-import@2 compatibility (#15128) 2022-08-02 13:43:45 +01:00
.eslintignore Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
.eslintrc.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00