From cc1109138c029702fb64702208e55fbca8e294b6 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Thu, 13 Apr 2017 12:25:29 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20"Show=20all=20posts"=20lin?= =?UTF-8?q?k=20not=20resetting=20author/tag=20filter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit no issue - when no posts are found when a content filter is applied the "Show all posts" link would only reset the `type` param but it also needs to reset the `author` and `tag` params --- ghost/admin/app/templates/posts.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/admin/app/templates/posts.hbs b/ghost/admin/app/templates/posts.hbs index 2badae57ed..5260b08df3 100644 --- a/ghost/admin/app/templates/posts.hbs +++ b/ghost/admin/app/templates/posts.hbs @@ -97,7 +97,7 @@ {{#link-to "editor.new"}}{{/link-to}} {{else}}

No posts match the current filter

- {{#link-to "posts.index" (query-params type=null)}}{{/link-to}} + {{#link-to "posts.index" (query-params type=null author=null tag=null)}}{{/link-to}} {{/if}}