diff --git a/ghost/admin/app/controllers/posts.js b/ghost/admin/app/controllers/posts.js index 375736a28c..ff7707a04b 100644 --- a/ghost/admin/app/controllers/posts.js +++ b/ghost/admin/app/controllers/posts.js @@ -37,7 +37,7 @@ const VISIBILITIES = [{ value: 'members' }, { name: 'Paid members-only', - value: 'paid' + value: '[paid,tiers]' }]; const ORDERS = [{ diff --git a/ghost/admin/tests/acceptance/content-test.js b/ghost/admin/tests/acceptance/content-test.js index 7eea8bd7f3..2235667d34 100644 --- a/ghost/admin/tests/acceptance/content-test.js +++ b/ghost/admin/tests/acceptance/content-test.js @@ -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