mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-30 22:34:01 -05:00
0f9449137f
closes https://linear.app/ghost/issue/PLG-297 - we were setting the comment count Admin API browse comments response meta pagination data which will never be correct because it only counts top-level comments for pagination purposes - we have a public comment counts endpoint that is already fetched, there's no need to override that when using the Admin API because the overall count doesn't change across API's, even when the Admin API includes hidden comments because those don't impact the visible count - updated test setup so the title and count is shown so it can be asserted against - updated mocked api to correctly return count of all published comments+replies |
||
---|---|---|
.. | ||
admin-x-activitypub | ||
admin-x-demo | ||
admin-x-design-system | ||
admin-x-framework | ||
admin-x-settings | ||
announcement-bar | ||
comments-ui | ||
portal | ||
signup-form | ||
sodo-search |