From 2bcdb13e68a3011d6d56412fe46d6480a90545cd Mon Sep 17 00:00:00 2001 From: "s.pongratz" <s.pongratz@adito.de> Date: Tue, 29 Sep 2020 14:17:39 +0200 Subject: [PATCH] =?UTF-8?q?#1062949-L=C3=B6schenEigenschaftenInkonsistent?= =?UTF-8?q?=20=C3=9Cberpr=C3=BCfung=20Auswahl-Value?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- process/Attribute_lib/process.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/process/Attribute_lib/process.js b/process/Attribute_lib/process.js index b7b8f69998..5e0df4bb1e 100644 --- a/process/Attribute_lib/process.js +++ b/process/Attribute_lib/process.js @@ -1624,7 +1624,8 @@ AttributeRelationQuery.prototype.getSingleAttributeValue = function () AttributeRelationQuery.prototype.getAttributeCount = function () { return parseInt(AttributeRelationUtils.getAttributeSqlBuilder("count(*)", this._rowId, this._objectType) - .andIfSet("AB_ATTRIBUTERELATION.AB_ATTRIBUTE_ID", this._attributeIds, SqlBuilder.IN()) + .and(newWhereIfSet( "AB_ATTRIBUTERELATION.AB_ATTRIBUTE_ID", this._attributeIds, SqlBuilder.IN()) + .orIfSet("AB_ATTRIBUTERELATION.ID_VALUE", this._attributeIds, SqlBuilder.IN())) .cell() || 0); } -- GitLab