Skip to content

Commit c04a130

Browse files
committedJul 17, 2013
vector join: put subset string in parentheses (followup af8479e; closes pull request #571; fixes #7743)
1 parent 5569b0a commit c04a130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgsvectorlayerfeatureiterator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ void QgsVectorLayerFeatureIterator::FetchJoinInfo::addJoinedAttributesDirect( Qg
398398
QString bkSubsetString = subsetString;
399399
if ( !subsetString.isEmpty() )
400400
{
401-
subsetString.append( " AND " );
401+
subsetString.prepend( "(" ).append( ") AND " );
402402
}
403403

404404
QString joinFieldName;

0 commit comments

Comments
 (0)
Please sign in to comment.