Skip to content

Commit

Permalink
Followup cc6b1e3: also respect subexp vars in presence of filter
Browse files Browse the repository at this point in the history
  • 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
Original file line number Diff line number Diff line change
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.