🐛 Fixed members export limiting to 15 members only (#1391)

closes https://github.com/TryGhost/Ghost/issues/11298

The members admin API by default paginates the result and only returns upto 15 members. This change passes `limit` param to the API with `limit=all` to fetch all members in result.
This commit is contained in:
Rishabh Garg 2019-10-29 10:21:10 +05:30 committed by GitHub
parent 1413c894d7
commit e8d8980da3

View File

@ -39,7 +39,7 @@ export default Controller.extend({
actions: {
exportData() {
let exportUrl = ghostPaths().url.api('members/csv');
let downloadURL = `${exportUrl}`;
let downloadURL = `${exportUrl}?limit=all`;
let iframe = document.getElementById('iframeDownload');
if (!iframe) {