advanced search: ShorthandExpansion on conversion To SQL

- plus tests
- plus implementation of ExternalFieldExpression->Render()

SVN:b1312[5760]
This commit is contained in:
Bruno Da Silva
2018-04-27 16:15:08 +00:00
parent d57fb3e24e
commit 59c9a98b87
4 changed files with 223 additions and 27 deletions

View File

@@ -253,7 +253,7 @@ class ExternalFieldOqlExpression extends ExternalFieldExpression implements Chec
}
else
{
if ($oFieldOqlExpression->GetName() != 'id')
if ($oFieldOqlExpression->GetName() != 'id') //on lastIteration, the id field can be used, but since it is not supporter by IsValidAttCode we must avoid it
{
if (!$oModelReflection->IsValidAttCode($sClass, $oFieldOqlExpression->GetName()))
{