From d370a4e840c4125ee635508b14f6dbe3b0651473 Mon Sep 17 00:00:00 2001 From: Rishabh Garg Date: Tue, 29 Oct 2019 10:20:32 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20members=20export=20limit?= =?UTF-8?q?ing=20to=2015=20members=20only=20(#11299)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refs https://github.com/TryGhost/Ghost/issues/11298 The members export admin API by default paginates the result and only returns upto 15 members. This allows passing `limit` param to the API and allows passing `limit=all` to fetch all members in result. --- core/server/api/canary/members.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/server/api/canary/members.js b/core/server/api/canary/members.js index 44f5c793cc..053c03ebfd 100644 --- a/core/server/api/canary/members.js +++ b/core/server/api/canary/members.js @@ -119,6 +119,9 @@ const members = { }, exportCSV: { + options: [ + 'limit' + ], headers: { disposition: { type: 'csv',