diff --git a/core/client b/core/client index 4c4fcdad48..7c8de6c1ed 160000 --- a/core/client +++ b/core/client @@ -1 +1 @@ -Subproject commit 4c4fcdad486670e9202f8ca22f77c4333c3bb3ec +Subproject commit 7c8de6c1ed29e89ad5bde6b701b9580bcc6cdab8 diff --git a/core/server/models/base/plugins/crud.js b/core/server/models/base/plugins/crud.js index ec813537fa..c6c905d3e2 100644 --- a/core/server/models/base/plugins/crud.js +++ b/core/server/models/base/plugins/crud.js @@ -69,7 +69,7 @@ module.exports = function (Bookshelf) { // and append default columns to fetch if (options.columns) { options.columns = _.intersection(options.columns, this.prototype.permittedAttributes()); - options.columns = _.union(options.columns, this.prototype.defaultColumnsToFetch()); + options.columns = _.union(options.columns, this.defaultColumnsToFetch()); } if (options.order) { diff --git a/package.json b/package.json index 8f28b527e8..61d598de8c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghost", - "version": "4.8.1", + "version": "4.8.2", "description": "The professional publishing platform", "author": "Ghost Foundation", "homepage": "https://ghost.org",