This commit is contained in:
2020-01-20 21:10:00 +00:00
parent c98e7c387c
commit a6156d09aa
2 changed files with 15 additions and 0 deletions

View File

@@ -491,6 +491,12 @@ namespace AyaNova.Biz
//flag to handle first column which has no display value, just an id instead
bool isFirstDFColumn=true;
//Iterate object fields, build return row list as required
//WAIT A SECOND, this is not correct, we are meant to return the template fields only, not all the fields in the objectfieldefinition which is a superset of the template
//instead it needs to iterate the *template* (but do the DF field first on it's own) and only grab the data that's in the template
//TEST THIS BY ADDING SUPERFLOUS FIELD TO THE OBJECTFIELDEFINITION THAT ISN'T IN THE TEMPLATE
//See the select builder, IIRC it already does select only the fields required, it's probably just this block of code below that needs adapting
//INSERT INTO THE RETURN ROWS LIST
foreach (AyaObjectFieldDefinition f in AyaObjectFields)
{