Skip to content
Permalink
Browse files
fix where clase when multiple features are filtered by id (fixes #11336
…, fixes #11408)
  • Loading branch information
jef-n committed Oct 15, 2014
1 parent 8429a65 commit d1e23a608a2e5f8e043e68e53910acb9e854bbd1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -511,7 +511,7 @@ QString QgsPostgresUtils::whereClause( QgsFeatureIds featureIds, const QgsField
whereClauses << whereClause( featureId, fields, conn, pkType, pkAttrs, sharedData );
}

return whereClauses.join( " AND " );
return whereClauses.join( " OR " );
}

QString QgsPostgresProvider::filterWhereClause() const

0 comments on commit d1e23a6

Please sign in to comment.