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