Skip to content
Snippets Groups Projects
Commit bd414726 authored by Martin Groppe's avatar Martin Groppe
Browse files

Merge branch 'marketingcondition_bracket_fix' into '2021.0.3'

added brackets for subsql

See merge request xrm/basic!921
parents f9e1c287 b58102b9
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ CommunicationSettingsCondition.prototype.medium = function (pMedium, pAddressSql
this._channelType = $KeywordRegistry.communicationChannelType$communication();
this._medium = pMedium;
if (pAddressSql)
this._channelIdSql = pAddressSql;
this._channelIdSql = "( "+ pAddressSql + " )";
return this;
}
......@@ -80,7 +80,7 @@ CommunicationSettingsCondition.prototype.emails = function (pAddressSql)
CommunicationSettingsCondition.prototype.address = function (pAddressSql)
{
this._channelType = $KeywordRegistry.communicationChannelType$address();
this._channelIdSql = pAddressSql;
this._channelIdSql = "( "+ pAddressSql + " )";
return this;
}
......
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