Skip to content

Commit 7d2098c

Browse files
committedOct 31, 2016
Followup cc6b1e3: also respect subexp vars in presence of filter
1 parent cc6b1e3 commit 7d2098c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgsexpression.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3683,7 +3683,7 @@ const QList<QgsExpression::Function*>& QgsExpression::Functions()
36833683
if ( node->args()->count() > 3 )
36843684
{
36853685
QgsExpression::Node* filterNode = node->args()->at( 3 );
3686-
referencedVars = filterNode->referencedVariables();
3686+
referencedVars.unite( filterNode->referencedVariables() );
36873687
}
36883688
return referencedVars.contains( "parent" ) || referencedVars.contains( QString() );
36893689
},

0 commit comments

Comments
 (0)
Please sign in to comment.