Fix incorrect variable names for joined objects in filters

fixes #10558
This commit is contained in:
Gunnar Beutner 2015-11-07 10:28:34 +01:00
parent dcfc171c61
commit 2c135d82c1
1 changed files with 1 additions and 4 deletions

View File

@ -123,10 +123,7 @@ bool FilterUtility::EvaluateFilter(ScriptFrame& frame, Expression *filter,
Object::Ptr joinedObj = target->NavigateField(fid);
varName = field.TypeName;
boost::algorithm::to_lower(varName);
vars->Set(varName, joinedObj);
vars->Set(field.Name, joinedObj);
}
return Convert::ToBool(filter->Evaluate(frame));