Skip to content
Snippets Groups Projects
Commit f2311813 authored by Sebastian Listl's avatar Sebastian Listl :speech_balloon:
Browse files

Merge branch '#1057226-ObjectTree_Bugfix' into '2020.1'

#1057226-ObjectTree_Bugfix Revert Nummern vertauscht

See merge request xrm/basic!279
parents 7a406720 e191a167
No related branches found
No related tags found
No related merge requests found
......@@ -234,7 +234,7 @@ function _getEntryData(pObjectId, pDirection, pRelationType1, pRelationType2, pP
if (pRelationType1 == undefined || pRelationType2 == undefined)
return [];
var [myNum, otherNum] = pDirection == "normal" ? [2, 1] : [1, 2];
var [myNum, otherNum] = pDirection == "normal" ? [1, 2] : [2, 1];
onConditionForRelationTypeJoin = newWhere("AB_OBJECTRELATIONTYPEID = AB_OBJECTRELATIONTYPE" + myNum)
.and("AB_OBJECTRELATION.AB_OBJECTRELATIONTYPE1", pRelationType1)
......
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