Skip to content

Commit d1e23a6

Browse files
committedOct 15, 2014
fix where clase when multiple features are filtered by id (fixes #11336, fixes #11408)
1 parent 8429a65 commit d1e23a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/providers/postgres/qgspostgresprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ QString QgsPostgresUtils::whereClause( QgsFeatureIds featureIds, const QgsField
511511
whereClauses << whereClause( featureId, fields, conn, pkType, pkAttrs, sharedData );
512512
}
513513

514-
return whereClauses.join( " AND " );
514+
return whereClauses.join( " OR " );
515515
}
516516

517517
QString QgsPostgresProvider::filterWhereClause() const

0 commit comments

Comments
 (0)
Please sign in to comment.