diff --git a/lib/remote/filterutility.cpp b/lib/remote/filterutility.cpp index aa5e6417b..e5fd772f5 100644 --- a/lib/remote/filterutility.cpp +++ b/lib/remote/filterutility.cpp @@ -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));