diff --git a/core b/core index 4434616..033d062 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 4434616378b7ccffc9ae185f40d619d3a01977ba +Subproject commit 033d062ac13b1b720955016e10fe146d0523c759 diff --git a/platform/ABModel.js b/platform/ABModel.js index 48f2ea7..69b3602 100644 --- a/platform/ABModel.js +++ b/platform/ABModel.js @@ -854,6 +854,13 @@ module.exports = class ABModel extends ABModelCore { if (["json", "list"].indexOf(f.key) > -1) { jsonAttributes.push(f.columnName); } + if (["string", "LongText"].indexOf(f.key) > -1) { + if (f.isMultilingual) { + if (jsonAttributes.indexOf("translations") == -1) { + jsonAttributes.push("translations"); + } + } + } }); class MyModel extends Model {