Skip to content
Snippets Groups Projects
Commit 2bcdb13e authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong:
Browse files

#1062949-LöschenEigenschaftenInkonsistent Überprüfung Auswahl-Value

parent 9d1e2680
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment