This commit is contained in:
2020-01-15 15:12:29 +00:00
parent e908c2d5f7
commit ea9fd9d249
2 changed files with 7 additions and 4 deletions

View File

@@ -331,9 +331,9 @@ namespace AyaNova.Biz
//if FULL Pass the template to the ObjectFields which will build the return JSON for here and will also ensure the fields are correct, if any are unknown it will just ignore them but maybe log it?
string ColumnsJSON=string.Empty;
if(listOptions.Mini){
NEXT: build this with AyaType templated in as a number to avoid magic numers
//NEXT: build this with AyaType templated in as a number to avoid magic numers
//and figure out if it's worth it to abbreviate the property names like this or just confusing for no useful purpose
ColumnsJSON=@"{[ {""nm"":""lt_client"",""dt"":""text"",""at"":""client""}]}";
ColumnsJSON=@"{[ {""cm"":""Widget"",""dt"":""text"",""ay"":"+ AyaType.Widget.ToString()+ "}]}";
}else{
}