From f63de38f36c62f59c2254b680039ae1ecb1c794d Mon Sep 17 00:00:00 2001 From: kirrg001 Date: Mon, 23 Apr 2018 09:11:58 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=20Fixed=20`{{author}}`=20for=20?= =?UTF-8?q?post=20preview?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - we still need to support the single author usage - author properties weren't accessible - added `author` include --- core/server/controllers/preview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/server/controllers/preview.js b/core/server/controllers/preview.js index d8a8241bf7..e9695b6fdc 100644 --- a/core/server/controllers/preview.js +++ b/core/server/controllers/preview.js @@ -11,7 +11,7 @@ module.exports = function previewController(req, res, next) { var params = { uuid: req.params.uuid, status: 'all', - include: 'authors,tags' + include: 'author,authors,tags' }; // Note: this is super similar to the config middleware used in channels