mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
🐛 ✨ Show specific tier posts under 'Paid-member only' filter in admin panel (#17043)
fixes https://github.com/TryGhost/Ghost/issues/16988
This commit is contained in:
parent
8d1320a225
commit
3442fdfee6
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ const VISIBILITIES = [{
|
|||
value: 'members'
|
||||
}, {
|
||||
name: 'Paid members-only',
|
||||
value: 'paid'
|
||||
value: '[paid,tiers]'
|
||||
}];
|
||||
|
||||
const ORDERS = [{
|
||||
|
|
|
@ -101,7 +101,7 @@ describe('Acceptance: Content', function () {
|
|||
await selectChoose('[data-test-visibility-select]', 'Paid members-only');
|
||||
[lastRequest] = this.server.pretender.handledRequests.slice(-1);
|
||||
expect(lastRequest.queryParams.filter, '"visibility" request filter param')
|
||||
.to.have.string('visibility:paid+status:[draft,scheduled,published]');
|
||||
.to.have.string('visibility:[paid,tiers]+status:[draft,scheduled,published]');
|
||||
|
||||
// Displays editor post
|
||||
// TODO: implement "filter" param support and fix mirage post->author association
|
||||
|
|
Loading…
Add table
Reference in a new issue