Use the alternate FieldValue when no table alias is used.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893081 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -660,12 +660,12 @@ private List<String> FieldList():
|
||||
|
||||
private FieldValue FieldValue(String fieldName):
|
||||
{
|
||||
String tableAlias = null, s;
|
||||
String s;
|
||||
}
|
||||
{
|
||||
( <PERIOD> s=NamePart() { tableAlias = fieldName; fieldName = s; } )?
|
||||
( <PERIOD> s=NamePart() { return new FieldValue(fieldName, s); } )?
|
||||
{
|
||||
return new FieldValue(tableAlias, fieldName);
|
||||
return new FieldValue(fieldName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user