From 6c9aad0f5b1eba1df850a8bc6ad78d2f9f12aeb9 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Tue, 9 Jun 2020 08:48:45 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20`searchParam`=20query=20?= =?UTF-8?q?param=20errors=20when=20deleting=20member=20labels?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit no issue - error was "You passed the `searchParam` query parameter during a transition into members, please update to search" - this was caused by the `reset-query-params` helper specifying `searchParam` as the query parameter which is the controller property name, not the query param name --- ghost/admin/app/helpers/reset-query-params.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/admin/app/helpers/reset-query-params.js b/ghost/admin/app/helpers/reset-query-params.js index 95ae2966d7..ed7d977e99 100644 --- a/ghost/admin/app/helpers/reset-query-params.js +++ b/ghost/admin/app/helpers/reset-query-params.js @@ -15,7 +15,7 @@ export const DEFAULT_QUERY_PARAMS = { }, 'members.index': { label: null, - searchParam: '' + search: '' } };