From 6361f27ec13993261b63fa6703b94e995060e505 Mon Sep 17 00:00:00 2001 From: Ronald Langeveld Date: Thu, 2 Mar 2023 13:45:44 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20broken=20link=20filter?= =?UTF-8?q?=20params=20(#16351)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes https://github.com/TryGhost/Team/issues/2403 - Fixes the links in `list-item.hbs` rendereing the url filter params with brackets eg `['postid']` where the filter UI requires the filter params not to have brackets to allow it to render with the filter pre-selected. - The API handles both with and without brackets. --- ghost/admin/app/components/posts-list/list-item.hbs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ghost/admin/app/components/posts-list/list-item.hbs b/ghost/admin/app/components/posts-list/list-item.hbs index a33377c26c..b0af9c369b 100644 --- a/ghost/admin/app/components/posts-list/list-item.hbs +++ b/ghost/admin/app/components/posts-list/list-item.hbs @@ -123,7 +123,7 @@ {{!-- Opened / Signups column --}} {{#if (and @post.showEmailOpenAnalytics @post.showEmailClickAnalytics) }} - + {{#if this.isHovered}} {{format-number @post.email.openedCount}} @@ -143,7 +143,7 @@ {{!-- Clicked / Conversions column --}} {{#if @post.showEmailClickAnalytics }} - + {{#if this.isHovered}} {{format-number @post.count.clicks}} @@ -157,7 +157,7 @@ {{else}} {{#if @post.showEmailOpenAnalytics }} - + {{#if this.isHovered}} {{format-number @post.email.openedCount}}