mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fixed email batches and recipient pagination
This commit is contained in:
parent
928a73c536
commit
b81cc13e48
1 changed files with 5 additions and 2 deletions
|
@ -161,7 +161,9 @@ export default class Debug extends Component {
|
|||
@task
|
||||
*_fetchEmailBatches() {
|
||||
const data = {
|
||||
include: 'count.recipients'
|
||||
include: 'count.recipients',
|
||||
limit: 'all',
|
||||
order: 'status asc, created_at desc'
|
||||
};
|
||||
|
||||
let statsUrl = this.ghostPaths.url.api(`emails/${this.post.email.id}/batches`);
|
||||
|
@ -186,7 +188,8 @@ export default class Debug extends Component {
|
|||
@task
|
||||
*_fetchRecipientFailures() {
|
||||
const data = {
|
||||
include: 'member,email_recipient'
|
||||
include: 'member,email_recipient',
|
||||
limit: 'all'
|
||||
};
|
||||
let statsUrl = this.ghostPaths.url.api(`/emails/${this.post.email.id}/recipient-failures`);
|
||||
let result = yield this.ajax.request(statsUrl, {data});
|
||||
|
|
Loading…
Add table
Reference in a new issue