Skip to content

Commit

Permalink
Added Order asc/desc
Browse files Browse the repository at this point in the history
  • Loading branch information
rappen committed Aug 29, 2021
1 parent 2d1a84e commit 16b7b04
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 36 deletions.
94 changes: 60 additions & 34 deletions XRMTokensRun/GetChildEntityAttribute.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions XRMTokensRun/GetChildEntityAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ private string GetResult()
return "<expand|" +
xrmEntityComboBox1.SelectedEntity?.LogicalName + "|" +
xrmLookup.SelectedAttribute?.LogicalName + "|" +
"{" + xrmShow.SelectedAttribute?.LogicalName + "}|" +
xrmOrder.SelectedAttribute?.LogicalName + "/asc|" +
(xrmShow.SelectedAttribute == null ? "|" : "{" + xrmShow.SelectedAttribute?.LogicalName + "}|") +
xrmOrder.SelectedAttribute?.LogicalName +
(!chkOrderSel.Checked ? "|" : "/desc|") +
txtSeparate.Text + "|" +
(chkDistinct.Checked ? "true" : "false") + "|" +
(chkActive.Checked ? "true" : "false") + "|" +
Expand Down

0 comments on commit 16b7b04

Please sign in to comment.