Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Followup cc6b1e3: also respect subexp vars in presence of filter
  • Loading branch information
m-kuhn committed Oct 31, 2016
1 parent cc6b1e3 commit 7d2098c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsexpression.cpp
Expand Up @@ -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() );
},
Expand Down

0 comments on commit 7d2098c

Please sign in to comment.