This commit is contained in:
@@ -15,7 +15,7 @@ namespace AyaNova.DataList
|
|||||||
//Build the SELECT portion of a list query based on the ListView fields
|
//Build the SELECT portion of a list query based on the ListView fields
|
||||||
internal static string Build(List<AyaDataListFieldDefinition> objectFieldsList, List<string> listViewFieldList)
|
internal static string Build(List<AyaDataListFieldDefinition> objectFieldsList, List<string> listViewFieldList)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.Append("SELECT ");
|
sb.Append("SELECT ");
|
||||||
@@ -39,6 +39,9 @@ namespace AyaNova.DataList
|
|||||||
|
|
||||||
foreach (string ColumnName in listViewFieldList)
|
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);
|
AyaDataListFieldDefinition o = objectFieldsList.FirstOrDefault(x => x.FieldKey == ColumnName);
|
||||||
#if (DEBUG)
|
#if (DEBUG)
|
||||||
//Developers little helper
|
//Developers little helper
|
||||||
|
|||||||
Reference in New Issue
Block a user