Skip to content
Permalink
Browse files

Followup cc6b1e3: also respect subexp vars in presence of filter

  • Loading branch information
m-kuhn committed Oct 31, 2016
1 parent cc6b1e3 commit 7d2098cdf4f77e81ec2099d128e3343a2df527f8
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsexpression.cpp
@@ -3683,7 +3683,7 @@ const QList<QgsExpression::Function*>& QgsExpression::Functions()
if ( node->args()->count() > 3 )
{
QgsExpression::Node* filterNode = node->args()->at( 3 );
referencedVars = filterNode->referencedVariables();
referencedVars.unite( filterNode->referencedVariables() );
}
return referencedVars.contains( "parent" ) || referencedVars.contains( QString() );
},

0 comments on commit 7d2098c

Please sign in to comment.
You can’t perform that action at this time.