Skip to content
Snippets Groups Projects
Commit cbcd8dcd authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

fix attribute relation idvalues

parent 635e6b2f
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,10 @@ if (idvalues)
attributeCond.andPrepare("AB_ATTRIBUTE.AB_ATTRIBUTEID", attrId);
else
{
attributeCond.andIn("AB_ATTRIBUTERELATION.AB_ATTRIBUTERELATIONID", idvalues);
attributeCond.andIn("AB_ATTRIBUTERELATION.AB_ATTRIBUTERELATIONID", idvalues.map(function(pId)
{
return pId[0] == "," ? pId.split(",")[1] : pId;
}));
objectRowId = null;
}
getTree = false;
......
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