This commit is contained in:
2021-01-07 15:58:59 +00:00
parent bc068f8c83
commit 72c5762c7f

View File

@@ -29,6 +29,10 @@ namespace AyaNova.PickList
cm.fld = "UnitModelVendorID"; cm.fld = "UnitModelVendorID";
dTemplate.Add(cm); dTemplate.Add(cm);
cm = new JObject();
cm.fld = "Tags";
dTemplate.Add(cm);
base.DefaultTemplate = dTemplate.ToString(Newtonsoft.Json.Formatting.None); base.DefaultTemplate = dTemplate.ToString(Newtonsoft.Json.Formatting.None);
//NOTE: Due to the join, all the sql id and name fields that can conflict with the joined table need to be specified completely //NOTE: Due to the join, all the sql id and name fields that can conflict with the joined table need to be specified completely
@@ -122,7 +126,7 @@ namespace AyaNova.PickList
ColumnDefinitions.Add(new AyaPickListFieldDefinition ColumnDefinitions.Add(new AyaPickListFieldDefinition
{ {
TKey = "Tags", TKey = "Tags",
FieldKey = "unittags", FieldKey = "Tags",
ColumnDataType = UiFieldDataType.Tags, ColumnDataType = UiFieldDataType.Tags,
SqlValueColumnName = "aunit.tags" SqlValueColumnName = "aunit.tags"
}); });