mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
🐛 Fixed member count in publish menu not matching subscription status
no issue - the `subscribed:true` filter was missed in the member count queries when we switched from `<GhMembersSegmentSelect>` to `<GhMembersRecipientSelect>` (https://github.com/TryGhost/Admin/pull/1972)
This commit is contained in:
parent
4ad305534a
commit
e44f18a412
1 changed files with 2 additions and 2 deletions
|
@ -157,10 +157,10 @@ export default class GhMembersRecipientSelect extends Component {
|
|||
}
|
||||
|
||||
yield Promise.all([
|
||||
this.store.query('member', {filter: 'status:free', limit: 1}).then((res) => {
|
||||
this.store.query('member', {filter: 'subscribed:true,status:free', limit: 1}).then((res) => {
|
||||
this.freeMemberCount = res.meta.pagination.total;
|
||||
}),
|
||||
this.store.query('member', {filter: 'status:-free', limit: 1}).then((res) => {
|
||||
this.store.query('member', {filter: 'subscribed:true,status:-free', limit: 1}).then((res) => {
|
||||
this.paidMemberCount = res.meta.pagination.total;
|
||||
})
|
||||
]);
|
||||
|
|
Loading…
Add table
Reference in a new issue