mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
🐛 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:
parent
1413c894d7
commit
e8d8980da3
@ -39,7 +39,7 @@ export default Controller.extend({
|
|||||||
actions: {
|
actions: {
|
||||||
exportData() {
|
exportData() {
|
||||||
let exportUrl = ghostPaths().url.api('members/csv');
|
let exportUrl = ghostPaths().url.api('members/csv');
|
||||||
let downloadURL = `${exportUrl}`;
|
let downloadURL = `${exportUrl}?limit=all`;
|
||||||
let iframe = document.getElementById('iframeDownload');
|
let iframe = document.getElementById('iframeDownload');
|
||||||
|
|
||||||
if (!iframe) {
|
if (!iframe) {
|
||||||
|
Loading…
Reference in New Issue
Block a user