This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user