From 6413a30c35ee2fb1bef50e27d649364bc11dc645 Mon Sep 17 00:00:00 2001 From: Sodbileg Gansukh Date: Tue, 20 Aug 2024 20:58:36 +0800 Subject: [PATCH] Fixed missing stats on the analytics screen (#20797) ref DES-716 --- ghost/admin/app/components/posts/analytics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/admin/app/components/posts/analytics.js b/ghost/admin/app/components/posts/analytics.js index 43071cb4a3..032330a68c 100644 --- a/ghost/admin/app/components/posts/analytics.js +++ b/ghost/admin/app/components/posts/analytics.js @@ -367,7 +367,7 @@ export default class Analytics extends Component { @task *fetchPostTask() { - const result = yield this.store.query('post', {filter: `id:${this.post.id}`, limit: 1}); + const result = yield this.store.query('post', {filter: `id:${this.post.id}`, include: 'count.clicks,count.conversions,count.paid_conversions,count.positive_feedback,count.negative_feedback', limit: 1}); this.post = result.toArray()[0]; if (this.post.email) {