This commit is contained in:
2020-01-16 16:37:59 +00:00
parent 8b8c4a4110
commit 5362a37dd3
2 changed files with 3 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ namespace AyaNova.Biz
sb.Append(def.SqlIdColumn);
}
sb.Append(" AS df ");
sb.Append(" AS df");
foreach (string ColumnName in templateFieldList)
{
@@ -66,7 +66,7 @@ namespace AyaNova.Biz
if (o != null)
{//Ignore missing fields in production
sb.Append(",");
sb.Append(", ");
sb.Append(o.GetSqlColumnName());
}

View File

@@ -284,8 +284,7 @@ namespace AyaNova.Biz
}
";
//BUILD THE QUERY
TODO NEXT, see if this works and continue on below it
//BUILD THE QUERY
var qSelect = SqlSelectBuilder.Build(ObjectFields.WIDGET_KEY, MOCK_WIDGET_DISPLAY_TEMPLATE_JSON, listOptions.Mini);
//TODO: Turn this into a raw direct query
//Build the select fragment from the template so only selected columns get fetched