mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-08 02:52:39 -05:00
Updated counts in (re)schedule notification
refs https://github.com/TryGhost/Team/issues/1538
This commit is contained in:
parent
38bc4705cd
commit
1beadb5304
1 changed files with 1 additions and 1 deletions
|
@ -1065,7 +1065,7 @@ export default class EditorController extends Controller {
|
|||
let description = emailOnly ? ['Will be sent'] : ['Will be published'];
|
||||
|
||||
if (emailRecipientFilter && emailRecipientFilter !== 'none') {
|
||||
const recipientCount = await this.membersCountCache.countString(`subscribed:true+(${emailRecipientFilter})`);
|
||||
const recipientCount = await this.membersCountCache.countString(`newsletters.status:active+(${emailRecipientFilter})`);
|
||||
description.push(`${!emailOnly ? 'and delivered ' : ''}to <span><strong>${recipientCount}</strong></span>`);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue