This commit is contained in:
@@ -163,11 +163,9 @@ namespace AyaNova.Biz
|
||||
{
|
||||
ObjectField o = fields.FirstOrDefault(x => x.Key == s);
|
||||
if (o != null)
|
||||
{//Here is where we can vet the field name, if it doesn't exist though, for now we'll just ignore it
|
||||
if (!isFirstColumn)
|
||||
{
|
||||
sb.Append(",");
|
||||
}
|
||||
{//Here is where we can vet the field name, if it doesn't exist though, for now we'll just ignore those ones
|
||||
|
||||
sb.Append(",");
|
||||
sb.Append("{");
|
||||
//Build required part of column definition
|
||||
sb.Append($"\"cm\":\"{o.Key}\",\"dt\":{(int)o.DataType}");
|
||||
@@ -177,7 +175,7 @@ namespace AyaNova.Biz
|
||||
sb.Append($",\"ay\":{(int)o.AyObjectType}");
|
||||
|
||||
sb.Append("}");
|
||||
isFirstColumn = false;
|
||||
|
||||
}
|
||||
}
|
||||
sb.Append("]");
|
||||
|
||||
Reference in New Issue
Block a user