This commit is contained in:
@@ -57,10 +57,10 @@ namespace AyaNova.DataList
|
||||
|
||||
|
||||
|
||||
public Newtonsoft.Json.Linq.JArray GenerateListColumnsJSONFromListView(JArray listViewArray)
|
||||
public Newtonsoft.Json.Linq.JArray GenerateReturnListColumns(List<string> columns)
|
||||
{
|
||||
|
||||
var ListViewFieldKeys = GetFieldListFromListView(listViewArray);
|
||||
// var ListViewFieldKeys = GetFieldListFromListView(listViewArray);
|
||||
var CustomFieldDefinitions = GetCustomFieldDefinitionsForList();
|
||||
|
||||
//Generate JSON fragment to return with column definitions
|
||||
@@ -70,7 +70,7 @@ namespace AyaNova.DataList
|
||||
|
||||
bool FirstColumnAdded = false;
|
||||
|
||||
foreach (string s in ListViewFieldKeys)
|
||||
foreach (string s in columns)
|
||||
{
|
||||
AyaDataListFieldDefinition o = FieldDefinitions.FirstOrDefault(z => z.FieldKey == s);
|
||||
#if (DEBUG)
|
||||
|
||||
Reference in New Issue
Block a user