This commit is contained in:
@@ -13,7 +13,7 @@ namespace AyaNova.DataList
|
||||
{
|
||||
|
||||
//Build the SELECT portion of a list query based on the template, mini or full and the object key in question
|
||||
internal static string Build(List<AyaDataListFieldDefinition> objectFieldsList, string template, bool mini)
|
||||
internal static string Build(List<AyaDataListFieldDefinition> objectFieldsList, string template, bool? mini)
|
||||
{
|
||||
|
||||
//parse the template
|
||||
@@ -22,7 +22,7 @@ namespace AyaNova.DataList
|
||||
|
||||
//convert to strings array (https://stackoverflow.com/a/33836599/8939)
|
||||
string[] templateFieldList;
|
||||
if (mini)
|
||||
if (mini!=null && mini==true)
|
||||
{
|
||||
templateFieldList = ((JArray)jtemplate["mini"]).ToObject<string[]>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user