diff --git a/core/frontend/services/routing/controllers/email-post.js b/core/frontend/services/routing/controllers/email-post.js index 74ff9feb93..24d56d969f 100644 --- a/core/frontend/services/routing/controllers/email-post.js +++ b/core/frontend/services/routing/controllers/email-post.js @@ -18,7 +18,7 @@ module.exports = function emailPostController(req, res, next) { const params = { uuid: req.params.uuid, - include: 'authors,tags', + include: 'authors,tags,tiers', context: { member: res.locals.member } diff --git a/core/frontend/services/routing/controllers/preview.js b/core/frontend/services/routing/controllers/preview.js index e6dacae5dc..1881f29187 100644 --- a/core/frontend/services/routing/controllers/preview.js +++ b/core/frontend/services/routing/controllers/preview.js @@ -19,7 +19,7 @@ module.exports = function previewController(req, res, next) { const params = { uuid: req.params.uuid, status: 'all', - include: 'authors,tags' + include: 'authors,tags,tiers' }; return api[res.routerOptions.query.controller] diff --git a/core/frontend/services/routing/controllers/static.js b/core/frontend/services/routing/controllers/static.js index 92246cd471..7009ecccae 100644 --- a/core/frontend/services/routing/controllers/static.js +++ b/core/frontend/services/routing/controllers/static.js @@ -13,7 +13,7 @@ function processQuery(query, locals) { // We override the `include` property for now, because the full data set is required anyway. if (_.get(query, 'resource') === 'posts' || _.get(query, 'resource') === 'pages') { _.extend(query.options, { - include: 'authors,tags' + include: 'authors,tags,tiers' }); } diff --git a/core/frontend/services/routing/helpers/entry-lookup.js b/core/frontend/services/routing/helpers/entry-lookup.js index 4269fbb895..f8645ab682 100644 --- a/core/frontend/services/routing/helpers/entry-lookup.js +++ b/core/frontend/services/routing/helpers/entry-lookup.js @@ -39,7 +39,7 @@ function entryLookup(postUrl, routerOptions, locals) { } let options = { - include: 'authors,tags' + include: 'authors,tags,tiers' }; options.context = {member: locals.member}; diff --git a/core/frontend/services/routing/helpers/fetch-data.js b/core/frontend/services/routing/helpers/fetch-data.js index 1c70cb6494..caea7b2a19 100644 --- a/core/frontend/services/routing/helpers/fetch-data.js +++ b/core/frontend/services/routing/helpers/fetch-data.js @@ -19,7 +19,7 @@ const queryDefaults = { */ const defaultQueryOptions = { options: { - include: 'authors,tags' + include: 'authors,tags,tiers' } };