From 2fffa2704b8fedd7f39661a3f5e4460588c6bf54 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 14 Feb 2020 19:26:16 +0000 Subject: [PATCH] --- server/AyaNova/DataList/DataListSqlSelectBuilder.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/AyaNova/DataList/DataListSqlSelectBuilder.cs b/server/AyaNova/DataList/DataListSqlSelectBuilder.cs index 5228edd0..ae98b64c 100644 --- a/server/AyaNova/DataList/DataListSqlSelectBuilder.cs +++ b/server/AyaNova/DataList/DataListSqlSelectBuilder.cs @@ -15,7 +15,7 @@ namespace AyaNova.DataList //Build the SELECT portion of a list query based on the ListView fields internal static string Build(List objectFieldsList, List listViewFieldList) { - + StringBuilder sb = new StringBuilder(); sb.Append("SELECT "); @@ -39,6 +39,9 @@ namespace AyaNova.DataList foreach (string ColumnName in listViewFieldList) { + //skip the df column, it's already been processed above + if (ColumnName == "df") + continue; AyaDataListFieldDefinition o = objectFieldsList.FirstOrDefault(x => x.FieldKey == ColumnName); #if (DEBUG) //Developers little helper