From 025d6eb781e49474270a98fc0fec834c9cd095b4 Mon Sep 17 00:00:00 2001 From: "S.Listl" <S.Listl@SLISTL.aditosoftware.local> Date: Thu, 24 Oct 2019 09:12:32 +0200 Subject: [PATCH] SqlBuilder updateData fix --- entity/Attribute_entity/recordcontainers/jdito/onUpdate.js | 2 +- entity/Classification_entity/recordcontainers/jdito/onUpdate.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/entity/Attribute_entity/recordcontainers/jdito/onUpdate.js b/entity/Attribute_entity/recordcontainers/jdito/onUpdate.js index 8d2c892612d..b8c76d33053 100644 --- a/entity/Attribute_entity/recordcontainers/jdito/onUpdate.js +++ b/entity/Attribute_entity/recordcontainers/jdito/onUpdate.js @@ -23,4 +23,4 @@ var values = [ ]; newWhere("AB_ATTRIBUTE.AB_ATTRIBUTEID", "$field.UID") - .updateData(true, columns, null, values, "AB_ATTRIBUTE"); \ No newline at end of file + .updateData(true, "AB_ATTRIBUTE", columns, null, values); \ No newline at end of file diff --git a/entity/Classification_entity/recordcontainers/jdito/onUpdate.js b/entity/Classification_entity/recordcontainers/jdito/onUpdate.js index c8bf239281b..a1a2a1cf12b 100644 --- a/entity/Classification_entity/recordcontainers/jdito/onUpdate.js +++ b/entity/Classification_entity/recordcontainers/jdito/onUpdate.js @@ -13,7 +13,7 @@ if (vars.get("$field.CLASSIFICATIONID")) if (vars.get("$field.CLASSIFICATIONSCORE_ID")) { newWhere("CLASSIFICATION.CLASSIFICATIONID", vars.get("$field.CLASSIFICATIONID")) - .updateData(true, ["CLASSIFICATIONSCORE_ID"], null, [vars.get("$field.CLASSIFICATIONSCORE_ID")], "CLASSIFICATION"); + .updateData(true, "CLASSIFICATION", ["CLASSIFICATIONSCORE_ID"], null, [vars.get("$field.CLASSIFICATIONSCORE_ID")]); } else { -- GitLab